Class DVChainMarketDataService
java.lang.Object
org.knowm.xchange.service.BaseExchangeService
org.knowm.xchange.dvchain.service.DVChainBaseService
org.knowm.xchange.dvchain.service.DVChainMarketDataServiceRaw
org.knowm.xchange.dvchain.service.DVChainMarketDataService
- All Implemented Interfaces:
BaseService
,MarketDataService
public class DVChainMarketDataService
extends DVChainMarketDataServiceRaw
implements MarketDataService
-
Field Summary
Fields inherited from class org.knowm.xchange.dvchain.service.DVChainBaseService
authToken, dvChain
Fields inherited from class org.knowm.xchange.service.BaseExchangeService
exchange
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetOrderBook
(CurrencyPair currencyPair, Object... args) Get an order book representing the current offered exchange rates (market depth)Methods inherited from class org.knowm.xchange.dvchain.service.DVChainMarketDataServiceRaw
getMarketData
Methods inherited from class org.knowm.xchange.dvchain.service.DVChainBaseService
handleException
Methods inherited from class org.knowm.xchange.service.BaseExchangeService
verifyOrder, verifyOrder, verifyOrder
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.knowm.xchange.service.marketdata.MarketDataService
getCandleStickData, getFundingRate, getFundingRates, getOrderBook, getOrderBook, getTicker, getTicker, getTickers, getTrades, getTrades, getTrades
-
Constructor Details
-
DVChainMarketDataService
-
-
Method Details
-
getOrderBook
public OrderBook getOrderBook(CurrencyPair currencyPair, Object... args) throws IOException, RateLimitExceededException Description copied from interface:MarketDataService
Get an order book representing the current offered exchange rates (market depth)- Specified by:
getOrderBook
in interfaceMarketDataService
- Parameters:
args
- Optional arguments. Exchange-specific- Returns:
- The OrderBook, null if some sort of error occurred. Implementers should log the error.
- Throws:
IOException
- - Indication that a networking error occurred while fetching JSON dataRateLimitExceededException
-