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
public class FtxAccountServiceRaw extends FtxBaseService
-
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
Constructors Constructor Description FtxAccountServiceRaw(Exchange exchange)
-
Method Summary
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
-