binance 2.0.0
binance: ^2.0.0 copied to clipboard

discontinued

A wrapper for Binance API with serialized data classes, futures, and streams.

example/example.dart

import 'package:binance/binance.dart';

main() async {
  final _binance = Binance();

  _binance.aggTrade("BTCUSDT").listen(_printTrade);
  _binance.aggTrade("ETHUSDT").listen(_printTrade);
  _binance.aggTrade("LTCUSDT").listen(_printTrade);
}

_printTrade(WsAggregatedTrade t) => print(
    "${t.symbol} [${t.id}] ${t.price.toStringAsFixed(2)} USDT, ${t.qty.toStringAsFixed(3)}");
9
likes
0
pub points
60%
popularity

A wrapper for Binance API with serialized data classes, futures, and streams.

Repository
View/report issues

Documentation

API reference

Uploader

lukepighetti@gmail.com

License

LICENSE

Dependencies

http, web_socket_channel

More

Packages that depend on binance