Class OkexAccountServiceRaw
java.lang.Object
org.knowm.xchange.service.BaseExchangeService<OkexExchangeV3>
org.knowm.xchange.okcoin.v3.service.OkexBaseService
org.knowm.xchange.okcoin.v3.service.OkexAccountServiceRaw
- All Implemented Interfaces:
BaseService
- Direct Known Subclasses:
OkexAccountService
public class OkexAccountServiceRaw extends OkexBaseService
-
Field Summary
Fields inherited from class org.knowm.xchange.okcoin.v3.service.OkexBaseService
apikey, digest, okex, passphrase, tradepwd
Fields inherited from class org.knowm.xchange.service.BaseExchangeService
exchange
-
Constructor Summary
Constructors Modifier Constructor Description protected
OkexAccountServiceRaw(OkexExchangeV3 exchange)
-
Method Summary
Methods inherited from class org.knowm.xchange.okcoin.v3.service.OkexBaseService
timestamp
Methods inherited from class org.knowm.xchange.service.BaseExchangeService
verifyOrder, verifyOrder, verifyOrder
-
Constructor Details
-
OkexAccountServiceRaw
-
-
Method Details
-
fundingAccountInformation
- Throws:
IOException
-
currencyInformation
- Throws:
IOException
-
spotTradingAccount
- Throws:
IOException
-
fundsTransfer
public FundsTransferResponse fundsTransfer(String currency, BigDecimal amount, String from, String to, String subAccount, String instrumentId) throws IOException- Throws:
IOException
-
withdrawal
- Throws:
IOException
-
recentWithdrawalHistory
- Throws:
IOException
-
recentDepositHistory
- Throws:
IOException
-
getFuturesPositions
Futures Account API *********************************- Throws:
IOException
-
getFuturesAccounts
- Throws:
IOException
-
getFuturesAccounts
- Throws:
IOException
-
getFuturesBills
public List<FuturesBillsResponse> getFuturesBills(String underlying, String after, String before, Integer limit, BillType type) throws IOException- Throws:
IOException
-
getSwapPositions
SWAP Account API *********************************- Throws:
IOException
-
getSwapAccounts
- Throws:
IOException
-
marginAccounts
******************************** Margin Account API *********************************- Returns:
- Throws:
IOException
-
marginAccountsSettings
- Throws:
IOException
-
marginBorrow
- Throws:
IOException
-
marginRepayment
- Throws:
IOException
-