Package org.knowm.xchange.ftx.service
Class FtxAccountServiceRaw
java.lang.Object
org.knowm.xchange.service.BaseExchangeService
org.knowm.xchange.ftx.service.FtxBaseService
org.knowm.xchange.ftx.service.FtxAccountServiceRaw
- All Implemented Interfaces:
BaseService
- Direct Known Subclasses:
FtxAccountService
-
Field Summary
Fields inherited from class org.knowm.xchange.ftx.service.FtxBaseService
ftx, signatureCreator
Fields inherited from class org.knowm.xchange.service.BaseExchangeService
exchange
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionacceptFtxConvert
(String subaccount, Integer quoteId) changeFtxSubAccountName
(String nickname, String newNickname) changeLeverage
(int leverage) changeLeverage
(String subaccount, int leverage) createFtxSubAccount
(String nickname) deleteFtxAllSubAccounts
(String nickname) getFtxAccountInformation
(String subaccount) getFtxConvertStatus
(String subaccount, Integer quoteId) getFtxFundingPayments
(String subaccount, Long startTime, Long endTime, String future) getFtxSubAccountBalances
(String nickname) getFtxWalletBalances
(String subaccount) simulateFtxConvert
(String subaccount, String fromCoin, String toCoin, double size) Methods inherited from class org.knowm.xchange.service.BaseExchangeService
verifyOrder, verifyOrder, verifyOrder
-
Constructor Details
-
FtxAccountServiceRaw
-
-
Method Details
-
getFtxAccountInformation
public FtxResponse<FtxAccountDto> getFtxAccountInformation(String subaccount) throws FtxException, IOException - Throws:
FtxException
IOException
-
getFtxWalletBalances
public FtxResponse<List<FtxWalletBalanceDto>> getFtxWalletBalances(String subaccount) throws FtxException, IOException - Throws:
FtxException
IOException
-
getFtxSubAccountBalances
public FtxResponse<FtxSubAccountBalanceDto> getFtxSubAccountBalances(String nickname) throws FtxException, IOException - Throws:
FtxException
IOException
-
changeFtxSubAccountName
public FtxResponse<FtxSubAccountBalanceDto> changeFtxSubAccountName(String nickname, String newNickname) throws FtxException, IOException - Throws:
FtxException
IOException
-
getFtxAllSubAccounts
- Throws:
FtxException
IOException
-
deleteFtxAllSubAccounts
- Throws:
FtxException
IOException
-
createFtxSubAccount
public FtxResponse<FtxSubAccountDto> createFtxSubAccount(String nickname) throws FtxException, IOException - Throws:
FtxException
IOException
-
transferBetweenFtxSubAccount
public FtxResponse<FtxSubAccountTranferDto> transferBetweenFtxSubAccount(FtxSubAccountTransferPOJO payload) throws FtxException, IOException - Throws:
FtxException
IOException
-
changeLeverage
- Throws:
FtxException
IOException
-
changeLeverage
public FtxResponse<FtxLeverageDto> changeLeverage(String subaccount, int leverage) throws FtxException, IOException - Throws:
FtxException
IOException
-
getFtxFundingPayments
public FtxResponse<List<FtxFundingPaymentsDto>> getFtxFundingPayments(String subaccount, Long startTime, Long endTime, String future) throws FtxException, IOException - Throws:
FtxException
IOException
-
simulateFtxConvert
public FtxResponse<FtxConvertSimulatetDto> simulateFtxConvert(String subaccount, String fromCoin, String toCoin, double size) throws FtxException, IOException - Throws:
FtxException
IOException
-
getFtxConvertStatus
public FtxResponse<FtxConvertDto> getFtxConvertStatus(String subaccount, Integer quoteId) throws FtxException, IOException - Throws:
FtxException
IOException
-
acceptFtxConvert
public FtxResponse<FtxConvertAcceptRequestDto> acceptFtxConvert(String subaccount, Integer quoteId) throws FtxException, IOException - Throws:
FtxException
IOException
-