Package org.knowm.xchange.okcoin.service
Class OkCoinAccountServiceRaw
java.lang.Object
org.knowm.xchange.service.BaseExchangeService
org.knowm.xchange.okcoin.service.OkCoinBaseService
org.knowm.xchange.okcoin.service.OKCoinBaseTradeService
org.knowm.xchange.okcoin.service.OkCoinAccountServiceRaw
- All Implemented Interfaces:
BaseService
- Direct Known Subclasses:
OkCoinAccountService
,OkCoinFuturesAccountService
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.knowm.xchange.okcoin.service.OKCoinBaseTradeService
apikey, okCoin, secretKey
Fields inherited from class org.knowm.xchange.okcoin.service.OkCoinBaseService
useIntl
Fields inherited from class org.knowm.xchange.service.BaseExchangeService
exchange
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAccountRecords
(String symbol, String type, String currentPage, String pageLength) 获取逐仓合约账户信息(逐仓)获取OKEx合约账户信息(全仓)获取用户信息boolean
moveFunds
(String symbol, BigDecimal amount, OkCoinAccountServiceRaw.AccountType from, OkCoinAccountServiceRaw.AccountType to) withdraw
(String currencySymbol, String withdrawAddress, BigDecimal amount, String target) withdraw
(String currencySymbol, String withdrawAddress, BigDecimal amount, String target, String fee) Methods inherited from class org.knowm.xchange.okcoin.service.OKCoinBaseTradeService
returnOrThrow, signatureCreator
Methods inherited from class org.knowm.xchange.okcoin.service.OkCoinBaseService
createDelimitedString
Methods inherited from class org.knowm.xchange.service.BaseExchangeService
verifyOrder, verifyOrder, verifyOrder
-
Constructor Details
-
OkCoinAccountServiceRaw
Constructor- Parameters:
exchange
-
-
-
Method Details
-
getUserInfo
获取用户信息- Returns:
- Throws:
IOException
-
getFutureUserInfo
获取OKEx合约账户信息(全仓)- Returns:
- Throws:
IOException
-
getFuturesUserInfoFixed
获取逐仓合约账户信息(逐仓)- Returns:
- Throws:
IOException
-
withdraw
public OKCoinWithdraw withdraw(String currencySymbol, String withdrawAddress, BigDecimal amount, String target) throws IOException - Throws:
IOException
-
withdraw
public OKCoinWithdraw withdraw(String currencySymbol, String withdrawAddress, BigDecimal amount, String target, String fee) throws IOException - Throws:
IOException
-
getAccountRecords
public OkCoinAccountRecords getAccountRecords(String symbol, String type, String currentPage, String pageLength) throws IOException - Throws:
IOException
-
moveFunds
public boolean moveFunds(String symbol, BigDecimal amount, OkCoinAccountServiceRaw.AccountType from, OkCoinAccountServiceRaw.AccountType to) throws IOException - Throws:
IOException
-