dart_tdx 1.0.1
dart_tdx: ^1.0.1 copied to clipboard
TDX (通达信) stock market data interface for Dart. Real-time quotes, historical K-line data, financial data, and offline file reading - a Dart port of mootdx.
We analyzed this package 7 days ago, and awarded it 135 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
75 out of 206 API elements (36.4 %) have documentation comments.
Some symbols that are missing documentation: affair, dart_tdx.BlockFiles.BlockFiles.new, dart_tdx.BlockFiles.defaultBlock, dart_tdx.BlockFiles.fg, dart_tdx.BlockFiles.gn.
10/10 points: Package has an example
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:dart_tdx/dart_tdx.dartthat imports:package:dart_tdx/src/socket_client.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 16 issues. Showing the first 2:
INFO: Statements in a for should be enclosed in a block.
lib/src/socket_client.dart:324:57
╷
324 │ for (int i = 0; i < cnt && i < val.length; i++) arr[i] = val[i];
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/socket_client.dart
INFO: Statements in a for should be enclosed in a block.
lib/src/socket_client.dart:351:28
╷
351 │ for (final p in parts) total += p.length;
│ ^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/socket_client.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
^3.4.0 |
3.6.1 | 4.0.9 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
path |
- | 1.9.1 | 1.9.1 | |
typed_data |
- | 1.4.0 | 1.4.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^3.4.0` on archive does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions archive to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.14, Dart 3.12.2.
Check the analysis log for details.