Package org.knowm.xchange.kucoin
Class KucoinAccountService
java.lang.Object
org.knowm.xchange.service.BaseExchangeService<E>
org.knowm.xchange.service.BaseResilientExchangeService<KucoinExchange>
org.knowm.xchange.kucoin.KucoinBaseService
org.knowm.xchange.kucoin.KucoinAccountServiceRaw
org.knowm.xchange.kucoin.KucoinAccountService
- All Implemented Interfaces:
AccountService
,BaseService
-
Field Summary
Fields inherited from class org.knowm.xchange.kucoin.KucoinBaseService
accountApi, apiKey, depositAPI, digest, fillApi, histOrdersApi, historyApi, limitOrderAPI, nonceFactory, orderApi, orderBookApi, passphrase, symbolApi, tradingFeeAPI, websocketAPI, withdrawalAPI
Fields inherited from class org.knowm.xchange.service.BaseResilientExchangeService
resilienceRegistries
Fields inherited from class org.knowm.xchange.service.BaseExchangeService
exchange
-
Method Summary
Modifier and TypeMethodDescriptionCreateTradeHistoryParams
object specific to this exchange.Get account infogetFundingHistory
(TradeHistoryParams params) Methods inherited from class org.knowm.xchange.kucoin.KucoinAccountServiceRaw
applyWithdraw, createDepositAddress, createKucoinAccount, getAccountLedgers, getAccountLedgersWithParams, getDepositAddress, getDepositAddresses, getDepositList, getKucoinAccounts, getWithdrawalsList, innerTransfer
Methods inherited from class org.knowm.xchange.kucoin.KucoinBaseService
checkAuthenticated
Methods inherited from class org.knowm.xchange.service.BaseResilientExchangeService
decorateApiCall, rateLimiter, rateLimiter, retry, retry
Methods inherited from class org.knowm.xchange.service.BaseExchangeService
verifyOrder, verifyOrder, verifyOrder
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.knowm.xchange.service.account.AccountService
getDynamicTradingFeesByInstrument, requestDepositAddress, requestDepositAddressData, withdrawFunds, withdrawFunds, withdrawFunds
-
Method Details
-
getAccountInfo
Description copied from interface:AccountService
Get account info- Specified by:
getAccountInfo
in interfaceAccountService
- Returns:
- the AccountInfo object, null if some sort of error occurred. Implementers should log the error.
- Throws:
IOException
- - Indication that a networking error occurred while fetching JSON data
-
createFundingHistoryParams
Description copied from interface:AccountService
CreateTradeHistoryParams
object specific to this exchange. Object created by this method may be used to discover supported and requiredAccountService.getFundingHistory(TradeHistoryParams)
parameters and should be passed only to the method in the same class as the createFundingHistoryParams that created the object.- Specified by:
createFundingHistoryParams
in interfaceAccountService
-
getFundingHistory
- Specified by:
getFundingHistory
in interfaceAccountService
- Returns:
- list of funding history if available or an empty list otherwise. This should never return null.
- Throws:
IOException
- - Indication that a networking error occurred while fetching JSON data
-