System.out.println("Deposit address: " + depositAddress);
}
private static void raw(Exchange exchange) {
BTCTradeAccountServiceRaw accountService = (BTCTradeAccountServiceRaw) exchange.getPollingAccountService();
BTCTradeBalance balance = accountService.getBTCTradeBalance();
System.out.println("Balance result: " + balance.getResult());
System.out.println("Balance message: " + balance.getMessage());
System.out.println("Balance CNY balance: " + balance.getCnyBalance());
System.out.println("Balance BTC balance: " + balance.getBtcBalance());
System.out.println("Balance CNY reserved: " + balance.getCnyReserved());
System.out.println("Balance BTC reserved: " + balance.getBtcReserved());
BTCTradeWallet wallet = accountService.getBTCTradeWallet();
System.out.println("Wallet address: " + wallet.getAddress());
}