Package com.xeiam.xchange.bitcoinaverage.service.polling

Examples of com.xeiam.xchange.bitcoinaverage.service.polling.BitcoinAverageMarketDataServiceRaw


    System.out.println("Volume: " + ticker.getVolume().toString());
  }

  private static void raw(Exchange bitcoinAverageExchange) throws IOException {

    BitcoinAverageMarketDataServiceRaw bitcoinAverageMarketDataServiceRaw = (BitcoinAverageMarketDataServiceRaw) bitcoinAverageExchange.getPollingMarketDataService();

    // Get the latest ticker data showing BTC to EUR
    BitcoinAverageTicker ticker = bitcoinAverageMarketDataServiceRaw.getBitcoinAverageTicker(Currencies.BTC, Currencies.EUR);

    System.out.println("Last: " + ticker.getLast());
    System.out.println("Vol: " + ticker.getVolume());
  }
View Full Code Here

TOP

Related Classes of com.xeiam.xchange.bitcoinaverage.service.polling.BitcoinAverageMarketDataServiceRaw

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.