public class ANXAccountService extends ANXAccountServiceRaw implements AccountService
XChange service to provide the following to Exchange:
| Modifier and Type | Class and Description |
|---|---|
static class |
ANXAccountService.AnxFundingHistoryParams |
exchange| Constructor and Description |
|---|
ANXAccountService(BaseExchange baseExchange)
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) |
anxRequestDepositAddress, anxWithdrawFunds, getANXAccountInfo, getWalletHistory, getWalletHistoryhandleError, handleHttpErrorverifyOrder, verifyOrder, verifyOrderpublic ANXAccountService(BaseExchange baseExchange)
public AccountInfo getAccountInfo() throws IOException
getAccountInfo in interface AccountServiceIOExceptionpublic String withdrawFunds(Currency currency, BigDecimal amount, String address) throws IOException
withdrawFunds in interface AccountServiceIOExceptionpublic String withdrawFunds(WithdrawFundsParams params) throws ExchangeException, NotAvailableFromExchangeException, NotYetImplementedForExchangeException, IOException
withdrawFunds in interface AccountServiceExchangeExceptionNotAvailableFromExchangeExceptionNotYetImplementedForExchangeExceptionIOExceptionpublic 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–2017 Knowm Inc.. All rights reserved.