Class 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
    • 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.OrderBook getOrderBook​(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 for RippleExchange.DATA_BASE_COUNTERPARTY, similarly if the counter currency is not XRP then RippleExchange.DATA_COUNTER_COUNTERPARTY is populated.
      • Methods inherited from class org.knowm.xchange.service.BaseExchangeService

        getClientConfig, verifyOrder, verifyOrder, verifyOrder
      • Methods inherited from interface org.knowm.xchange.service.marketdata.MarketDataService

        getTicker, getTickers, getTrades
    • Constructor Detail

      • RippleMarketDataService

        public RippleMarketDataService​(org.knowm.xchange.Exchange exchange)
    • Method Detail

      • getOrderBook

        public org.knowm.xchange.dto.marketdata.OrderBook getOrderBook​(org.knowm.xchange.currency.CurrencyPair currencyPair,
                                                                       Object... args)
                                                                throws IOException
        If the base currency is not XRP then the returned orders' additional data map contains a value for RippleExchange.DATA_BASE_COUNTERPARTY, similarly if the counter currency is not XRP then RippleExchange.DATA_COUNTER_COUNTERPARTY is populated.
        Specified by:
        getOrderBook in interface org.knowm.xchange.service.marketdata.MarketDataService
        Parameters:
        currencyPair - the base/counter currency pair
        args - a RippleMarketDataParams object needs to be supplied
        Throws:
        IOException