WebsocketBinanceListener class

Constructors

WebsocketBinanceListener(BinanceEnvironment env, {bool debugPrint = false})

Properties

closeCode int?
getter/setter pair
connectionStr String?
getter/setter pair
debugPrint bool
getter/setter pair
env BinanceEnvironment
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
mainSupscription StreamSubscription
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
socket ↔ IOWebSocketChannel
getter/setter pair
stream Stream
getter/setter pair

Methods

close() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
subscribeAccountOrders(String address, {dynamic onMessage(WsBinanceMessage<List<OrdersData>> message)?}) → void
Returns individual order updates.
subscribeAccountUpdates(String address, {dynamic onMessage(WsBinanceMessage<AccountData> message)?}) → void
Returns account updates.
subscribeAccoutTransfers(String address, {dynamic onMessage(WsBinanceMessage<TransferData> message)?}) → void
Return transfer updates if address is involved (as sender or receiver) in a transfer. Multisend is also covered.
subscribeCandlesticksUpdates(String marketPairSymbol, {CandlestickInterval interval = CandlestickInterval.INTERVAL_1h, dynamic onMessage(WsBinanceMessage<MarketDepthData> message)?}) → void
subscribeOrderBook(String marketPairSymbol, {dynamic onMessage(WsBinanceMessage<MarketDepthData> message)?}) → void
Top 20 (could extend to 100, 500, 1000) levels of bids and asks.
toString() String
A string representation of this object.
inherited
unsubscribeOrderBookSymbol(String symbol) → void
unsubscribeTopic(String topic) → void

Operators

operator ==(Object other) bool
The equality operator.
inherited