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:
org.knowm.xchange.service.BaseService,org.knowm.xchange.service.marketdata.MarketDataService
public class RippleMarketDataService extends RippleMarketDataServiceRaw implements org.knowm.xchange.service.marketdata.MarketDataService
-
-
Field Summary
-
Fields inherited from class org.knowm.xchange.ripple.service.RippleBaseService
rippleAuthenticated, ripplePublic
-
-
Constructor Summary
Constructors Constructor Description RippleMarketDataService(org.knowm.xchange.Exchange exchange)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.knowm.xchange.dto.marketdata.OrderBookgetOrderBook(org.knowm.xchange.currency.CurrencyPair currencyPair, Object... args)If the base currency is not XRP then the returned orders' additional data map contains a value forRippleExchange.DATA_BASE_COUNTERPARTY, similarly if the counter currency is not XRP thenRippleExchange.DATA_COUNTER_COUNTERPARTYis populated.-
Methods inherited from class org.knowm.xchange.ripple.service.RippleMarketDataServiceRaw
getRippleOrderBook
-
Methods inherited from class org.knowm.xchange.service.BaseExchangeService
getClientConfig, verifyOrder, verifyOrder, verifyOrder
-
-
-
-
Method Detail
-
getOrderBook
public org.knowm.xchange.dto.marketdata.OrderBook getOrderBook(org.knowm.xchange.currency.CurrencyPair currencyPair, Object... args) throws IOExceptionIf the base currency is not XRP then the returned orders' additional data map contains a value forRippleExchange.DATA_BASE_COUNTERPARTY, similarly if the counter currency is not XRP thenRippleExchange.DATA_COUNTER_COUNTERPARTYis populated.- Specified by:
getOrderBookin interfaceorg.knowm.xchange.service.marketdata.MarketDataService- Parameters:
currencyPair- the base/counter currency pairargs- a RippleMarketDataParams object needs to be supplied- Throws:
IOException
-
-