Search in sources :

Example 1 with PoloniexMarketDataServiceRaw

use of org.knowm.xchange.poloniex.service.PoloniexMarketDataServiceRaw in project XChange by knowm.

the class PoloniexExchange method remoteInit.

@Override
public void remoteInit() throws IOException {
    PoloniexMarketDataServiceRaw poloniexMarketDataServiceRaw = (PoloniexMarketDataServiceRaw) marketDataService;
    Map<String, PoloniexCurrencyInfo> poloniexCurrencyInfoMap = poloniexMarketDataServiceRaw.getPoloniexCurrencyInfo();
    Map<String, PoloniexMarketData> poloniexMarketDataMap = poloniexMarketDataServiceRaw.getAllPoloniexTickers();
    exchangeMetaData = PoloniexAdapters.adaptToExchangeMetaData(poloniexCurrencyInfoMap, poloniexMarketDataMap, exchangeMetaData);
}
Also used : PoloniexCurrencyInfo(org.knowm.xchange.poloniex.dto.marketdata.PoloniexCurrencyInfo) PoloniexMarketData(org.knowm.xchange.poloniex.dto.marketdata.PoloniexMarketData) PoloniexMarketDataServiceRaw(org.knowm.xchange.poloniex.service.PoloniexMarketDataServiceRaw)

Aggregations

PoloniexCurrencyInfo (org.knowm.xchange.poloniex.dto.marketdata.PoloniexCurrencyInfo)1 PoloniexMarketData (org.knowm.xchange.poloniex.dto.marketdata.PoloniexMarketData)1 PoloniexMarketDataServiceRaw (org.knowm.xchange.poloniex.service.PoloniexMarketDataServiceRaw)1