public class OKCoinAccountService extends OKCoinAccountServiceRaw implements org.knowm.xchange.service.account.AccountService
AccountService implementation.apiKey, loginMaxRetryTimes, okCoin, okCoinClient, sign| Constructor and Description |
|---|
OKCoinAccountService(org.knowm.xchange.Exchange exchange) |
| Modifier and Type | Method and Description |
|---|---|
org.knowm.xchange.dto.account.AccountInfo |
getAccountInfo() |
String |
requestDepositAddress(org.knowm.xchange.currency.Currency currency,
String... args) |
String |
withdrawFunds(org.knowm.xchange.currency.Currency currency,
BigDecimal amount,
String address) |
cancelWithdraw, getAccountRecords, getUserInfo, withdrawsleep, updateLastpublic OKCoinAccountService(org.knowm.xchange.Exchange exchange)
public org.knowm.xchange.dto.account.AccountInfo getAccountInfo()
throws OKCoinException,
OKCoinException,
IOException
getAccountInfo in interface org.knowm.xchange.service.account.AccountServiceOKCoinExceptionIOExceptionpublic String withdrawFunds(org.knowm.xchange.currency.Currency currency, BigDecimal amount, String address) throws OKCoinException, IOException
withdrawFunds in interface org.knowm.xchange.service.account.AccountServiceOKCoinExceptionIOExceptionpublic String requestDepositAddress(org.knowm.xchange.currency.Currency currency, String... args) throws org.knowm.xchange.exceptions.ExchangeException, org.knowm.xchange.exceptions.NotAvailableFromExchangeException, org.knowm.xchange.exceptions.NotYetImplementedForExchangeException, IOException
requestDepositAddress in interface org.knowm.xchange.service.account.AccountServiceorg.knowm.xchange.exceptions.ExchangeExceptionorg.knowm.xchange.exceptions.NotAvailableFromExchangeExceptionorg.knowm.xchange.exceptions.NotYetImplementedForExchangeExceptionIOExceptionCopyright © 2013–2017. All rights reserved.