Package com.xeiam.xchange.cryptotrade.dto.account.CryptoTradeAccountInfo

Examples of com.xeiam.xchange.cryptotrade.dto.account.CryptoTradeAccountInfo.CryptoTradeAccountPermissions


    Map<String, BigDecimal> funds = accountInfo.getFunds();
    assertThat(funds.size()).isEqualTo(11);
    assertThat(funds.get("ltc")).isEqualTo("1000");

    CryptoTradeAccountPermissions permissions = accountInfo.getPermissions();
    assertThat(permissions.getHistory()).isEqualTo(1);
    assertThat(permissions.getInfo()).isEqualTo(1);
    assertThat(permissions.getTrade()).isEqualTo(1);

    assertThat(accountInfo.getActiveOrders()).isEqualTo(0);
    assertThat(accountInfo.getTransactionCount()).isEqualTo(43);
    assertThat(accountInfo.getServerTimestamp()).isEqualTo(1370985781);
  }
View Full Code Here

TOP

Related Classes of com.xeiam.xchange.cryptotrade.dto.account.CryptoTradeAccountInfo.CryptoTradeAccountPermissions

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.