Examples of BTCCentralMarketDataServiceRaw


Examples of com.xeiam.xchange.btccentral.service.polling.BTCCentralMarketDataServiceRaw

public class BTCCentralMarketDataExample {

  public static void main(String[] args) throws IOException {

    Exchange btcCentralExchange = ExchangeFactory.INSTANCE.createExchange(BTCCentralExchange.class.getName());
    BTCCentralMarketDataServiceRaw btcCentralMarketDataServiceRaw = (BTCCentralMarketDataServiceRaw) btcCentralExchange.getPollingMarketDataService();

    System.out.println(btcCentralMarketDataServiceRaw.getBTCCentralTicker());
    System.out.println("\n");

    System.out.println(btcCentralMarketDataServiceRaw.getBTCCentralMarketDepth());
    System.out.println("\n");

    System.out.println(btcCentralMarketDataServiceRaw.getBTCCentralTrades());
    System.out.println("\n");
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.