Package com.xeiam.xchange.mintpal.service.polling

Examples of com.xeiam.xchange.mintpal.service.polling.MintPalMarketDataServiceRaw


    System.out.println(trades);
  }

  private static void raw(Exchange mintPal) throws IOException {

    MintPalMarketDataServiceRaw mintPalSpecificMarketDataService = (MintPalMarketDataServiceRaw) mintPal.getPollingMarketDataService();

    List<MintPalTicker> tickers = mintPalSpecificMarketDataService.getAllMintPalTickers();
    System.out.println(tickers);

    MintPalTicker ticker = mintPalSpecificMarketDataService.getMintPalTicker(CurrencyPair.LTC_BTC);
    System.out.println(ticker);

    List<MintPalPublicOrders> ordersFull = mintPalSpecificMarketDataService.getMintPalFullOrders(CurrencyPair.LTC_BTC);
    System.out.println(ordersFull);

    List<MintPalPublicOrders> ordersLimit = mintPalSpecificMarketDataService.getMintPalOrders(CurrencyPair.LTC_BTC, 10);
    System.out.println(ordersLimit);

    List<MintPalPublicTrade> trades = mintPalSpecificMarketDataService.getMintPalTrades(CurrencyPair.LTC_BTC);
    System.out.println(trades);
  }
View Full Code Here

TOP

Related Classes of com.xeiam.xchange.mintpal.service.polling.MintPalMarketDataServiceRaw

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.