Package org.knowm.xchange.ripple.service
Class RippleMarketDataService
java.lang.Object
org.knowm.xchange.service.BaseExchangeService
org.knowm.xchange.ripple.service.RippleBaseService
org.knowm.xchange.ripple.service.RippleMarketDataServiceRaw
org.knowm.xchange.ripple.service.RippleMarketDataService
- All Implemented Interfaces:
BaseService
,MarketDataService
public class RippleMarketDataService
extends RippleMarketDataServiceRaw
implements MarketDataService
-
Field Summary
Fields inherited from class org.knowm.xchange.ripple.service.RippleBaseService
rippleAuthenticated, ripplePublic
Fields inherited from class org.knowm.xchange.service.BaseExchangeService
exchange
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetOrderBook
(CurrencyPair currencyPair, Object... args) If the base currency is not XRP then the returned orders' additional data map contains a value forinvalid @link
RippleExchange.DATA_BASE_COUNTERPARTY
invalid @link
RippleExchange.DATA_COUNTER_COUNTERPARTY
Methods inherited from class org.knowm.xchange.ripple.service.RippleMarketDataServiceRaw
getRippleOrderBook
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
-
RippleMarketDataService
-
-
Method Details
-
getOrderBook
If the base currency is not XRP then the returned orders' additional data map contains a value forinvalid @link
RippleExchange.DATA_BASE_COUNTERPARTY
invalid @link
RippleExchange.DATA_COUNTER_COUNTERPARTY
- Specified by:
getOrderBook
in interfaceMarketDataService
- Parameters:
currencyPair
- the base/counter currency pairargs
- a RippleMarketDataParams object needs to be supplied- 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 data
-