Search in sources :

Example 1 with BiboxMarket

use of org.knowm.xchange.bibox.dto.marketdata.BiboxMarket in project XChange by knowm.

the class BiboxMarketDataDemo method raw.

private static void raw(BiboxMarketDataServiceRaw marketDataService) throws IOException {
    System.out.println("------------RAW-----------");
    BiboxTicker tickerResponse = marketDataService.getBiboxTicker(PAIR);
    System.out.println(tickerResponse);
    List<BiboxMarket> tickersResponse = marketDataService.getAllBiboxMarkets();
    System.out.println(tickersResponse);
    BiboxOrderBook orderBookResponse = marketDataService.getBiboxOrderBook(PAIR, 10);
    System.out.println(orderBookResponse);
}
Also used : BiboxOrderBook(org.knowm.xchange.bibox.dto.trade.BiboxOrderBook) BiboxMarket(org.knowm.xchange.bibox.dto.marketdata.BiboxMarket) BiboxTicker(org.knowm.xchange.bibox.dto.marketdata.BiboxTicker)

Aggregations

BiboxMarket (org.knowm.xchange.bibox.dto.marketdata.BiboxMarket)1 BiboxTicker (org.knowm.xchange.bibox.dto.marketdata.BiboxTicker)1 BiboxOrderBook (org.knowm.xchange.bibox.dto.trade.BiboxOrderBook)1