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, withdraw
sleep, updateLast
public 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.AccountService
OKCoinException
IOException
public String withdrawFunds(org.knowm.xchange.currency.Currency currency, BigDecimal amount, String address) throws OKCoinException, IOException
withdrawFunds
in interface org.knowm.xchange.service.account.AccountService
OKCoinException
IOException
public 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.AccountService
org.knowm.xchange.exceptions.ExchangeException
org.knowm.xchange.exceptions.NotAvailableFromExchangeException
org.knowm.xchange.exceptions.NotYetImplementedForExchangeException
IOException
Copyright © 2013–2017. All rights reserved.