Search in sources :

Example 1 with KucoinMarketDataService

use of org.knowm.xchange.kucoin.KucoinMarketDataService in project XChange by knowm.

the class KucoinMarketDataDemo method main.

public static void main(String[] args) throws IOException {
    exchange = ExchangeFactory.INSTANCE.createExchange(KucoinExchange.class);
    MarketDataService marketDataService = exchange.getMarketDataService();
    System.out.println(Arrays.toString(exchange.getExchangeSymbols().toArray()));
    generic(marketDataService);
    raw((KucoinMarketDataService) marketDataService);
}
Also used : MarketDataService(org.knowm.xchange.service.marketdata.MarketDataService) KucoinMarketDataService(org.knowm.xchange.kucoin.KucoinMarketDataService) KucoinExchange(org.knowm.xchange.kucoin.KucoinExchange)

Aggregations

KucoinExchange (org.knowm.xchange.kucoin.KucoinExchange)1 KucoinMarketDataService (org.knowm.xchange.kucoin.KucoinMarketDataService)1 MarketDataService (org.knowm.xchange.service.marketdata.MarketDataService)1