public class BTCTradeAccountService extends BTCTradeAccountServiceRaw implements AccountService
publicKey, sessionbtcTradeexchange| Constructor and Description |
|---|
BTCTradeAccountService(Exchange exchange)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
TradeHistoryParams |
createFundingHistoryParams() |
AccountInfo |
getAccountInfo() |
List<FundingRecord> |
getFundingHistory(TradeHistoryParams params) |
String |
requestDepositAddress(Currency currency,
String... args) |
String |
withdrawFunds(Currency currency,
BigDecimal amount,
String address) |
String |
withdrawFunds(WithdrawFundsParams params) |
getBTCTradeBalance, getBTCTradeWalletgetSignatureCreatortoLonggetClientConfig, verifyOrder, verifyOrder, verifyOrderpublic BTCTradeAccountService(Exchange exchange)
exchange - public AccountInfo getAccountInfo() throws IOException
getAccountInfo in interface AccountServiceIOExceptionpublic String withdrawFunds(Currency currency, BigDecimal amount, String address)
withdrawFunds in interface AccountServicepublic String withdrawFunds(WithdrawFundsParams params) throws IOException
withdrawFunds in interface AccountServiceIOExceptionpublic String requestDepositAddress(Currency currency, String... args) throws IOException
requestDepositAddress in interface AccountServiceIOExceptionpublic TradeHistoryParams createFundingHistoryParams()
createFundingHistoryParams in interface AccountServicepublic List<FundingRecord> getFundingHistory(TradeHistoryParams params) throws IOException
getFundingHistory in interface AccountServiceIOExceptionCopyright © 2012–2018 Knowm Inc.. All rights reserved.