public class BTCTradeAccountService extends BTCTradeAccountServiceRaw implements PollingAccountService
publicKey, session
btcTrade
exchange
Constructor and Description |
---|
BTCTradeAccountService(Exchange exchange)
Constructor
|
Modifier and Type | Method and Description |
---|---|
AccountInfo |
getAccountInfo()
Get account info
|
String |
requestDepositAddress(String currency,
String... args)
Request a digital currency address to fund this account.
|
String |
withdrawFunds(String currency,
BigDecimal amount,
String address)
Withdraw funds from this account.
|
getBTCTradeBalance, getBTCTradeWallet
getSignatureCreator
toLong
getExchangeSymbols, verifyOrder, verifyOrder, verifyOrder
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExchangeSymbols
public BTCTradeAccountService(Exchange exchange)
exchange
- public AccountInfo getAccountInfo() throws IOException
getAccountInfo
in interface PollingAccountService
IOException
- - Indication that a networking error occurred while fetching JSON datapublic String withdrawFunds(String currency, BigDecimal amount, String address)
withdrawFunds
in interface PollingAccountService
currency
- The currency to withdrawamount
- The amount to withdrawaddress
- The destination addresspublic String requestDepositAddress(String currency, String... args) throws IOException
requestDepositAddress
in interface PollingAccountService
currency
- The digital currency that corresponds to the desired deposit address.IOException
- - Indication that a networking error occurred while fetching JSON dataCopyright © 2012–2016 Xeiam, LLC. All rights reserved.