Websockets extension

on

Methods

aggregatedTradeStream({required String symbol}) Stream<WsAggTrade>
The Aggregate Trade Streams push trade information that is aggregated for a single taker order.
allMiniTickerStream() Stream<List<WsMiniTicker>>
24hr rolling window mini-ticker statistics for all symbols that changed in an array.
allOrderbookStream() Stream<WsOrderBook>
Pushes any update to the best bid or ask's price or quantity in real-time for a specified symbol.
allTickerStream() Stream<List<WsTicker>>
24hr rolling window ticker statistics for all symbols that changed in an array.
diffOrderbookStream({required String symbol, bool is100ms = false}) Stream<WsDiffOrderBook>
Order book price and quantity depth updates used to locally manage an order book.
klineStream({required String symbol, required Interval interval}) Stream<WsKlineEvent>
The Kline/Candlestick Stream push updates to the current klines/candlestick every second.
miniTickerStream({required String symbol}) Stream<WsMiniTicker>
24hr rolling window mini-ticker statistics.
orderbookStream({required String symbol}) Stream<WsOrderBook>
Pushes any update to the best bid or ask's price or quantity in real-time for a specified symbol.
partialOrderbookStream({required String symbol, required int nbLevel, bool is100ms = false}) Stream<WsPartialOrderBook>
Top bids and asks, Valid are 5, 10, or 20.
tickerStream({required String symbol}) Stream<WsTicker>
24hr rolling window ticker statistics for a single symbol.
tradeStream({required String symbol}) Stream<WsTrade>
The Trade Streams push raw trade information, each trade has a unique buyer and seller.
userDataStream({required String listenKey}) Stream
Subscribe to userdata stream