bybit 2.1.0 copy "bybit: ^2.1.0" to clipboard
bybit: ^2.1.0 copied to clipboard

(Unofficial) Dart library to communicate with the bybit API over REST or WebSockets

8
likes
120/ 140
pub points
36%
popularity

We analyzed this package 16 hours ago, and awarded it 120 pub points (of a possible 140):

partial
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/PimpMyPizza/bybit-dart/issues was unreachable. Make sure that the website is reachable via HEAD requests.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

232 out of 240 API elements (96.7 %) have documentation comments.

Some symbols that are missing documentation: bybit, bybit.ByBit.receiveWindow, bybit_rest, bybit_rest.ByBitRest, bybit_websocket.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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:bybit/bybit.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/file_output_stub.dart that imports:
  • dart:io
partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: The variable name 'tp_sl_mode' isn't a lowerCamelCase identifier.

lib/bybit.dart:910:48

    ╷
910 │       {required String symbol, required String tp_sl_mode}) async {
    │                                                ^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/bybit.dart

INFO: The variable name 'tp_sl_mode' isn't a lowerCamelCase identifier.

lib/bybit_rest.dart:1174:48

     ╷
1174 │       {required String symbol, required String tp_sl_mode}) async {
     │                                                ^^^^^^^^^^
     ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/bybit_rest.dart

OK
Support up-to-date dependencies
10 / 20trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
async ^2.5.0 2.11.0 2.11.0
crypto ^3.0.0 3.0.3 3.0.3
http ^0.13.0 0.13.6 1.2.1
logger ^1.1.0 1.4.0 2.3.0
meta ^1.3.0 1.15.0 1.15.0
sortedmap ^0.5.1 0.5.3 0.5.3
web_socket_channel ^2.0.0 2.4.5 3.0.0
Transitive dependencies
Package Constraint Compatible Latest
boolean_selector - 2.1.1 2.1.1
collection - 1.18.0 1.18.0
http_parser - 4.0.2 4.0.2
matcher - 0.12.16+1 0.12.16+1
path - 1.9.0 1.9.0
quiver - 3.2.1 3.2.1
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.2 0.7.2
typed_data - 1.3.2 1.3.2
web - 0.5.1 0.5.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 3 issues. Showing the first 2:

The constraint `^0.13.0` on http does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions http to update the constraint.

The constraint `^1.1.0` on logger does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions logger to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analyzed with Pana 0.22.3, Dart 3.4.1.

Check the analysis log for details.

8
likes
120
pub points
36%
popularity

Publisher

unverified uploader

(Unofficial) Dart library to communicate with the bybit API over REST or WebSockets

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

async, crypto, http, logger, meta, sortedmap, web_socket_channel

More

Packages that depend on bybit