Class dydxStreamingMarketDataService
java.lang.Object
info.bitrich.xchangestream.dydx.service.v1.dydxStreamingMarketDataService
- All Implemented Interfaces:
- StreamingMarketDataService
Author: Max Gao (gaamox@tutanota.com) Created: 20-02-2021
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Observable<OrderBook>getOrderBook(CurrencyPair currencyPair, Object... args) Get an order book representing the current offered exchange rates (market depth).Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface info.bitrich.xchangestream.core.StreamingMarketDataServicegetFundingRate, getFundingRates, getOrderBook, getOrderBookUpdates, getTicker, getTicker, getTrades, getTrades
- 
Constructor Details- 
dydxStreamingMarketDataService
 
- 
- 
Method Details- 
getOrderBookpublic io.reactivex.rxjava3.core.Observable<OrderBook> getOrderBook(CurrencyPair currencyPair, Object... args) Description copied from interface:StreamingMarketDataServiceGet an order book representing the current offered exchange rates (market depth).Warning: The library will attempt to keep the snapshots returned in sync with the exchange using the approaches published by that exchange. However, there are currently no guarantees that messages will not be skipped, or that any initial state message will be sent on connection. Emits NotConnectedExceptionwhen not connected to the WebSocket API.- Specified by:
- getOrderBookin interface- StreamingMarketDataService
- Parameters:
- currencyPair- Currency pair of the order book
- Returns:
- Observablethat emits- OrderBookwhen exchange sends the update.
 
 
-