Package com.xeiam.xchange.kraken.service.polling

Examples of com.xeiam.xchange.kraken.service.polling.KrakenAccountServiceRaw


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

    Exchange krakenExchange = KrakenExampleUtils.createTestExchange();

    KrakenAccountServiceRaw rawKrakenAcctService = (KrakenAccountServiceRaw) krakenExchange.getPollingAccountService();

    KrakenTradeBalanceInfo balanceInfo = rawKrakenAcctService.getKrakenTradeBalance();
    System.out.println(balanceInfo);

    Map<String, KrakenLedger> ledgerInfo = rawKrakenAcctService.getKrakenLedgerInfo();
    System.out.println(ledgerInfo);

    KrakenTradeVolume tradeVolume = rawKrakenAcctService.getTradeVolume();
    System.out.println(tradeVolume);

    tradeVolume = rawKrakenAcctService.getTradeVolume(CurrencyPair.BTC_USD);
    System.out.println(tradeVolume);
  }
View Full Code Here


    System.out.println("Account Info: " + accountInfo.toString());
  }

  private static void raw(Exchange krakenExchange) throws IOException {

    KrakenAccountServiceRaw rawKrakenAcctService = (KrakenAccountServiceRaw) krakenExchange.getPollingAccountService();
    System.out.println("Balance Info: " + rawKrakenAcctService.getKrakenBalance());
  }
View Full Code Here

TOP

Related Classes of com.xeiam.xchange.kraken.service.polling.KrakenAccountServiceRaw

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.