MarketDataWebsockets extension
Methods
-
aggregatedTradeStream({required String symbol})
→ Stream<WsAggTrade>
-
The Aggregate Trade Streams push trade information that is aggregated for a single taker order.
-
allLiquidationStream()
→ Stream<WsLiquidationEvent>
-
The All Liquidation Order Snapshot Streams push force liquidation order information for all symbols in the market.
-
allMarkPriceStream({bool is1s = false})
→ Stream<List<WsMarkPrice>>
-
Mark price and funding rate for all symbols pushed every 3 seconds or every second.
-
allMiniTickerStream()
→ Stream<List<WsMiniTicker>>
-
24hr rolling window mini-ticker statistics for all symbols.
-
allOrderbookStream()
→ Stream<WsOrderBook>
-
Pushes any update to the best bid or ask's price or quantity in real-time for all symbols.
-
allTickerStream()
→ Stream<List<WsTicker>>
-
24hr rolling window ticker statistics for all symbols.
-
continuousKlineStream({required String pair, required Interval interval, required ContractType contractType})
→ Stream<WsContinuousKlineEvent>
-
Pushes updates of a contract continuous klines every second.
-
diffOrderbookStream({required String symbol, bool is100ms = false, bool is500ms = 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.
-
liquidationStream({required String symbol})
→ Stream<WsLiquidationEvent>
-
The Liquidation Order Snapshot Streams push force liquidation order information for specific symbol.
-
markPriceStream({required String symbol, bool is1s = false})
→ Stream<WsMarkPrice>
-
Mark price and funding rate for a single symbol pushed every 3 seconds or every second.
-
miniTickerStream({required String symbol})
→ Stream<WsMiniTicker>
-
24hr rolling window mini-ticker statistics for a single symbol.
-
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, bool is500ms = false})
→ Stream<WsDiffOrderBook>
-
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.