Package org.knowm.xchange.ftx
Interface FtxAuthenticated
- All Superinterfaces:
Ftx
@Path("/api") @Produces("application/json") @Consumes("application/json") public interface FtxAuthenticated extends Ftx
-
Method Summary
Modifier and Type Method Description FtxResponse<FtxConvertAcceptRequestDto>
acceptConvert(String apiKey, Long nonce, si.mazi.rescu.ParamsDigest signature, String subaccount, String quoteId, FtxConvertAcceptPayloadRequestDto payload)
FtxResponse<String>
cancelAllOrders(String apiKey, Long nonce, si.mazi.rescu.ParamsDigest signature, String subaccount, CancelAllFtxOrdersParams payLoad)
FtxResponse<String>
cancelConditionalOrder(String apiKey, Long nonce, si.mazi.rescu.ParamsDigest signature, String subaccount, String orderId)
FtxResponse<String>
cancelOrder(String apiKey, Long nonce, si.mazi.rescu.ParamsDigest signature, String subaccount, String orderId)
FtxResponse<FtxOrderDto>
cancelOrderByClientId(String apiKey, Long nonce, si.mazi.rescu.ParamsDigest signature, String subaccount, String clientOrderId)
FtxResponse<FtxLeverageDto>
changeLeverage(String apiKey, Long nonce, si.mazi.rescu.ParamsDigest signature, String subaccount, FtxLeverageDto leverage)
FtxResponse
changeSubAccountName(String apiKey, Long nonce, si.mazi.rescu.ParamsDigest signature, FtxChangeSubAccountNamePOJO payload)
FtxResponse<List<FtxConditionalOrderDto>>
conditionalOrderHistory(String apiKey, Long nonce, si.mazi.rescu.ParamsDigest signature, String subaccount, String market)
FtxResponse<FtxSubAccountDto>
createSubAccount(String apiKey, Long nonce, si.mazi.rescu.ParamsDigest signature, String subaccount, FtxSubAccountRequestPOJO payload)
FtxResponse
deleteSubAccounts(String apiKey, Long nonce, si.mazi.rescu.ParamsDigest signature, FtxSubAccountRequestPOJO payload)
FtxResponse<List<FtxFillDto>>
fills(String apiKey, Long nonce, si.mazi.rescu.ParamsDigest signature, String subaccount, String market, Long startTime, Long endTime)
FtxResponse<FtxAccountDto>
getAccountInformation(String apiKey, Long nonce, si.mazi.rescu.ParamsDigest signature, String subaccount)
FtxResponse<List<FtxSubAccountDto>>
getAllSubAccounts(String apiKey, Long nonce, si.mazi.rescu.ParamsDigest signature)
FtxResponse<List<FtxBorrowingHistoryDto>>
getBorrowHistory(String apiKey, Long nonce, si.mazi.rescu.ParamsDigest signature, String subaccount, Long start_time, Long end_time)
FtxResponse<List<FtxBorrowingInfoDto>>
getBorrowingInfos(String apiKey, Long nonce, si.mazi.rescu.ParamsDigest signature, String subaccount)
FtxResponse<List<FtxBorrowingRatesDto>>
getBorrowRates(String apiKey, Long nonce, si.mazi.rescu.ParamsDigest signature)
FtxResponse<FtxConvertDto>
getConvertStatus(String apiKey, Long nonce, si.mazi.rescu.ParamsDigest signature, String subaccount, String quoteId)
FtxResponse<List<FtxPositionDto>>
getFtxPositions(String apiKey, Long nonce, si.mazi.rescu.ParamsDigest signature, String subaccount, boolean showAvgPrice)
FtxResponse<List<FtxFundingPaymentsDto>>
getFundingPayments(String apiKey, Long nonce, si.mazi.rescu.ParamsDigest signature, String subaccount, Long startTime, Long endTime, String future)
FtxResponse<List<FtxLendingHistoryDto>>
getlendingHistories(String apiKey, Long nonce, si.mazi.rescu.ParamsDigest signature, String subaccount)
FtxResponse<List<FtxLendingInfoDto>>
getLendingInfos(String apiKey, Long nonce, si.mazi.rescu.ParamsDigest signature, String subaccount)
FtxResponse<List<FtxLendingRatesDto>>
getLendingRates(String apiKey, Long nonce, si.mazi.rescu.ParamsDigest signature)
FtxResponse<FtxOrderDto>
getOrderStatus(String apiKey, Long nonce, si.mazi.rescu.ParamsDigest signature, String subaccount, String orderId)
FtxResponse<FtxSubAccountBalanceDto>
getSubAccountBalances(String apiKey, Long nonce, si.mazi.rescu.ParamsDigest signature, String subaccount, String nickname)
FtxResponse<List<FtxTriggerDto>>
getTriggers(String apiKey, Long nonce, si.mazi.rescu.ParamsDigest signature, String subaccount, String id)
FtxResponse<List<FtxWalletBalanceDto>>
getWalletBalances(String apiKey, Long nonce, si.mazi.rescu.ParamsDigest signature, String subaccount)
FtxResponse<FtxConditionalOrderDto>
modifyConditionalOrder(String apiKey, Long nonce, si.mazi.rescu.ParamsDigest signature, String subaccount, String orderId, FtxModifyConditionalOrderRequestPayload payload)
FtxResponse<FtxOrderDto>
modifyOrder(String apiKey, Long nonce, si.mazi.rescu.ParamsDigest signature, String subaccount, String orderId, FtxModifyOrderRequestPayload payload)
FtxResponse<FtxOrderDto>
modifyOrderByClientId(String apiKey, Long nonce, si.mazi.rescu.ParamsDigest signature, String subaccount, String clientId, FtxModifyOrderRequestPayload payload)
FtxResponse<List<FtxConditionalOrderDto>>
openConditionalOrders(String apiKey, Long nonce, si.mazi.rescu.ParamsDigest signature, String subaccount, String market)
FtxResponse<List<FtxOrderDto>>
openOrders(String apiKey, Long nonce, si.mazi.rescu.ParamsDigest signature, String subaccount, String market)
FtxResponse<List<FtxOrderDto>>
openOrdersWithoutMarket(String apiKey, Long nonce, si.mazi.rescu.ParamsDigest signature, String subaccount)
FtxResponse<List<FtxOrderDto>>
orderHistory(String apiKey, Long nonce, si.mazi.rescu.ParamsDigest signature, String subaccount, String market, Long startTime, Long endTime)
FtxResponse<FtxConditionalOrderDto>
placeConditionalOrder(String apiKey, Long nonce, si.mazi.rescu.ParamsDigest signature, String subaccount, FtxConditionalOrderRequestPayload payload)
FtxResponse<FtxOrderDto>
placeOrder(String apiKey, Long nonce, si.mazi.rescu.ParamsDigest signature, String subaccount, FtxOrderRequestPayload payload)
FtxResponse<FtxConvertSimulatetDto>
simulateConvert(String apiKey, Long nonce, si.mazi.rescu.ParamsDigest signature, String subaccount, FtxConvertSimulatePayloadRequestDto payload)
FtxResponse
submitLendingOffer(String apiKey, Long nonce, si.mazi.rescu.ParamsDigest signature, String subaccount, FtxSubmitLendingOfferParams payload)
FtxResponse<FtxSubAccountTranferDto>
transferBetweenSubAccounts(String apiKey, Long nonce, si.mazi.rescu.ParamsDigest signature, String subaccount, FtxSubAccountTransferPOJO payload)
Methods inherited from interface org.knowm.xchange.ftx.Ftx
getCandles, getMarket, getMarkets, getOrderbook, getTrades
-
Method Details
-
getAccountInformation
@GET @Path("/account") FtxResponse<FtxAccountDto> getAccountInformation(@HeaderParam("FTX-KEY") String apiKey, @HeaderParam("FTX-TS") Long nonce, @HeaderParam("FTX-SIGN") si.mazi.rescu.ParamsDigest signature, @HeaderParam("FTX-SUBACCOUNT") String subaccount) throws IOException, FtxException- Throws:
IOException
FtxException
-
getWalletBalances
@GET @Path("/wallet/balances") FtxResponse<List<FtxWalletBalanceDto>> getWalletBalances(@HeaderParam("FTX-KEY") String apiKey, @HeaderParam("FTX-TS") Long nonce, @HeaderParam("FTX-SIGN") si.mazi.rescu.ParamsDigest signature, @HeaderParam("FTX-SUBACCOUNT") String subaccount) throws IOException, FtxException- Throws:
IOException
FtxException
-
getFtxPositions
@GET @Path("/positions") FtxResponse<List<FtxPositionDto>> getFtxPositions(@HeaderParam("FTX-KEY") String apiKey, @HeaderParam("FTX-TS") Long nonce, @HeaderParam("FTX-SIGN") si.mazi.rescu.ParamsDigest signature, @HeaderParam("FTX-SUBACCOUNT") String subaccount, @QueryParam("showAvgPrice") boolean showAvgPrice) throws IOException, FtxException- Throws:
IOException
FtxException
-
deleteSubAccounts
@DELETE @Path("/subaccounts") FtxResponse deleteSubAccounts(@HeaderParam("FTX-KEY") String apiKey, @HeaderParam("FTX-TS") Long nonce, @HeaderParam("FTX-SIGN") si.mazi.rescu.ParamsDigest signature, FtxSubAccountRequestPOJO payload) throws IOException, FtxException- Throws:
IOException
FtxException
-
getAllSubAccounts
@GET @Path("/subaccounts") FtxResponse<List<FtxSubAccountDto>> getAllSubAccounts(@HeaderParam("FTX-KEY") String apiKey, @HeaderParam("FTX-TS") Long nonce, @HeaderParam("FTX-SIGN") si.mazi.rescu.ParamsDigest signature) throws IOException, FtxException- Throws:
IOException
FtxException
-
createSubAccount
@POST @Path("/subaccounts") FtxResponse<FtxSubAccountDto> createSubAccount(@HeaderParam("FTX-KEY") String apiKey, @HeaderParam("FTX-TS") Long nonce, @HeaderParam("FTX-SIGN") si.mazi.rescu.ParamsDigest signature, @HeaderParam("FTX-SUBACCOUNT") String subaccount, FtxSubAccountRequestPOJO payload) throws IOException, FtxException- Throws:
IOException
FtxException
-
changeSubAccountName
@POST @Path("/subaccounts/update_name") FtxResponse changeSubAccountName(@HeaderParam("FTX-KEY") String apiKey, @HeaderParam("FTX-TS") Long nonce, @HeaderParam("FTX-SIGN") si.mazi.rescu.ParamsDigest signature, FtxChangeSubAccountNamePOJO payload) throws IOException, FtxException- Throws:
IOException
FtxException
-
getSubAccountBalances
@GET @Path("/subaccounts/{nickname}/balances") FtxResponse<FtxSubAccountBalanceDto> getSubAccountBalances(@HeaderParam("FTX-KEY") String apiKey, @HeaderParam("FTX-TS") Long nonce, @HeaderParam("FTX-SIGN") si.mazi.rescu.ParamsDigest signature, @HeaderParam("FTX-SUBACCOUNT") String subaccount, @PathParam("nickname") String nickname) throws IOException, FtxException- Throws:
IOException
FtxException
-
transferBetweenSubAccounts
@POST @Path("/subaccounts/transfer") FtxResponse<FtxSubAccountTranferDto> transferBetweenSubAccounts(@HeaderParam("FTX-KEY") String apiKey, @HeaderParam("FTX-TS") Long nonce, @HeaderParam("FTX-SIGN") si.mazi.rescu.ParamsDigest signature, @HeaderParam("FTX-SUBACCOUNT") String subaccount, FtxSubAccountTransferPOJO payload) throws IOException, FtxException- Throws:
IOException
FtxException
-
simulateConvert
@POST @Path("/otc/quotes") FtxResponse<FtxConvertSimulatetDto> simulateConvert(@HeaderParam("FTX-KEY") String apiKey, @HeaderParam("FTX-TS") Long nonce, @HeaderParam("FTX-SIGN") si.mazi.rescu.ParamsDigest signature, @HeaderParam("FTX-SUBACCOUNT") String subaccount, FtxConvertSimulatePayloadRequestDto payload) throws IOException, FtxException- Throws:
IOException
FtxException
-
getConvertStatus
@GET @Path("/otc/quotes/{quoteId}") FtxResponse<FtxConvertDto> getConvertStatus(@HeaderParam("FTX-KEY") String apiKey, @HeaderParam("FTX-TS") Long nonce, @HeaderParam("FTX-SIGN") si.mazi.rescu.ParamsDigest signature, @HeaderParam("FTX-SUBACCOUNT") String subaccount, @PathParam("quoteId") String quoteId) throws IOException, FtxException- Throws:
IOException
FtxException
-
acceptConvert
@POST @Path("/otc/quotes/{quoteId}/accept") FtxResponse<FtxConvertAcceptRequestDto> acceptConvert(@HeaderParam("FTX-KEY") String apiKey, @HeaderParam("FTX-TS") Long nonce, @HeaderParam("FTX-SIGN") si.mazi.rescu.ParamsDigest signature, @HeaderParam("FTX-SUBACCOUNT") String subaccount, @PathParam("quoteId") String quoteId, FtxConvertAcceptPayloadRequestDto payload) throws IOException, FtxException- Throws:
IOException
FtxException
-
placeOrder
@POST @Path("/orders") FtxResponse<FtxOrderDto> placeOrder(@HeaderParam("FTX-KEY") String apiKey, @HeaderParam("FTX-TS") Long nonce, @HeaderParam("FTX-SIGN") si.mazi.rescu.ParamsDigest signature, @HeaderParam("FTX-SUBACCOUNT") String subaccount, FtxOrderRequestPayload payload) throws IOException, FtxException- Throws:
IOException
FtxException
-
modifyOrder
@POST @Path("/orders/{order_id}/modify") FtxResponse<FtxOrderDto> modifyOrder(@HeaderParam("FTX-KEY") String apiKey, @HeaderParam("FTX-TS") Long nonce, @HeaderParam("FTX-SIGN") si.mazi.rescu.ParamsDigest signature, @HeaderParam("FTX-SUBACCOUNT") String subaccount, @PathParam("order_id") String orderId, FtxModifyOrderRequestPayload payload) throws IOException, FtxException- Throws:
IOException
FtxException
-
modifyOrderByClientId
@POST @Path("/orders/by_client_id/{client_order_id}/modify") FtxResponse<FtxOrderDto> modifyOrderByClientId(@HeaderParam("FTX-KEY") String apiKey, @HeaderParam("FTX-TS") Long nonce, @HeaderParam("FTX-SIGN") si.mazi.rescu.ParamsDigest signature, @HeaderParam("FTX-SUBACCOUNT") String subaccount, @PathParam("client_order_id") String clientId, FtxModifyOrderRequestPayload payload) throws IOException, FtxException- Throws:
IOException
FtxException
-
getOrderStatus
@GET @Path("/orders/{order_id}") FtxResponse<FtxOrderDto> getOrderStatus(@HeaderParam("FTX-KEY") String apiKey, @HeaderParam("FTX-TS") Long nonce, @HeaderParam("FTX-SIGN") si.mazi.rescu.ParamsDigest signature, @HeaderParam("FTX-SUBACCOUNT") String subaccount, @PathParam("order_id") String orderId) throws IOException, FtxException- Throws:
IOException
FtxException
-
openOrders
@GET @Path("/orders?market={market}") FtxResponse<List<FtxOrderDto>> openOrders(@HeaderParam("FTX-KEY") String apiKey, @HeaderParam("FTX-TS") Long nonce, @HeaderParam("FTX-SIGN") si.mazi.rescu.ParamsDigest signature, @HeaderParam("FTX-SUBACCOUNT") String subaccount, @PathParam("market") String market) throws IOException, FtxException- Throws:
IOException
FtxException
-
openOrdersWithoutMarket
@GET @Path("/orders") FtxResponse<List<FtxOrderDto>> openOrdersWithoutMarket(@HeaderParam("FTX-KEY") String apiKey, @HeaderParam("FTX-TS") Long nonce, @HeaderParam("FTX-SIGN") si.mazi.rescu.ParamsDigest signature, @HeaderParam("FTX-SUBACCOUNT") String subaccount) throws IOException, FtxException- Throws:
IOException
FtxException
-
cancelOrder
@DELETE @Path("/orders/{orderId}") FtxResponse<String> cancelOrder(@HeaderParam("FTX-KEY") String apiKey, @HeaderParam("FTX-TS") Long nonce, @HeaderParam("FTX-SIGN") si.mazi.rescu.ParamsDigest signature, @HeaderParam("FTX-SUBACCOUNT") String subaccount, @PathParam("orderId") String orderId) throws IOException, FtxException- Throws:
IOException
FtxException
-
cancelAllOrders
@DELETE @Path("/orders") FtxResponse<String> cancelAllOrders(@HeaderParam("FTX-KEY") String apiKey, @HeaderParam("FTX-TS") Long nonce, @HeaderParam("FTX-SIGN") si.mazi.rescu.ParamsDigest signature, @HeaderParam("FTX-SUBACCOUNT") String subaccount, CancelAllFtxOrdersParams payLoad) throws IOException, FtxException- Throws:
IOException
FtxException
-
orderHistory
@GET @Path("/orders/history") FtxResponse<List<FtxOrderDto>> orderHistory(@HeaderParam("FTX-KEY") String apiKey, @HeaderParam("FTX-TS") Long nonce, @HeaderParam("FTX-SIGN") si.mazi.rescu.ParamsDigest signature, @HeaderParam("FTX-SUBACCOUNT") String subaccount, @QueryParam("market") String market, @QueryParam("start_time") Long startTime, @QueryParam("end_time") Long endTime) throws IOException, FtxException- Throws:
IOException
FtxException
-
cancelOrderByClientId
@DELETE @Path("/orders/by_client_id/{client_order_id}") FtxResponse<FtxOrderDto> cancelOrderByClientId(@HeaderParam("FTX-KEY") String apiKey, @HeaderParam("FTX-TS") Long nonce, @HeaderParam("FTX-SIGN") si.mazi.rescu.ParamsDigest signature, @HeaderParam("FTX-SUBACCOUNT") String subaccount, @PathParam("client_order_id") String clientOrderId) throws IOException, FtxException- Throws:
IOException
FtxException
-
fills
@GET @Path("/fills") FtxResponse<List<FtxFillDto>> fills(@HeaderParam("FTX-KEY") String apiKey, @HeaderParam("FTX-TS") Long nonce, @HeaderParam("FTX-SIGN") si.mazi.rescu.ParamsDigest signature, @HeaderParam("FTX-SUBACCOUNT") String subaccount, @QueryParam("market") String market, @QueryParam("start_time") Long startTime, @QueryParam("end_time") Long endTime) throws IOException, FtxException- Throws:
IOException
FtxException
-
changeLeverage
@POST @Path("/account/leverage") FtxResponse<FtxLeverageDto> changeLeverage(@HeaderParam("FTX-KEY") String apiKey, @HeaderParam("FTX-TS") Long nonce, @HeaderParam("FTX-SIGN") si.mazi.rescu.ParamsDigest signature, @HeaderParam("FTX-SUBACCOUNT") String subaccount, FtxLeverageDto leverage) throws IOException, FtxException- Throws:
IOException
FtxException
-
getBorrowHistory
@GET @Path("/spot_margin/borrow_history") FtxResponse<List<FtxBorrowingHistoryDto>> getBorrowHistory(@HeaderParam("FTX-KEY") String apiKey, @HeaderParam("FTX-TS") Long nonce, @HeaderParam("FTX-SIGN") si.mazi.rescu.ParamsDigest signature, @HeaderParam("FTX-SUBACCOUNT") String subaccount, @QueryParam("start_time") Long start_time, @QueryParam("end_time") Long end_time) throws IOException, FtxException- Throws:
IOException
FtxException
-
getFundingPayments
@GET @Path("/funding_payments") FtxResponse<List<FtxFundingPaymentsDto>> getFundingPayments(@HeaderParam("FTX-KEY") String apiKey, @HeaderParam("FTX-TS") Long nonce, @HeaderParam("FTX-SIGN") si.mazi.rescu.ParamsDigest signature, @HeaderParam("FTX-SUBACCOUNT") String subaccount, @QueryParam("start_time") Long startTime, @QueryParam("end_time") Long endTime, @QueryParam("future") String future) throws IOException, FtxException- Throws:
IOException
FtxException
-
getLendingInfos
@GET @Path("/spot_margin/lending_info") FtxResponse<List<FtxLendingInfoDto>> getLendingInfos(@HeaderParam("FTX-KEY") String apiKey, @HeaderParam("FTX-TS") Long nonce, @HeaderParam("FTX-SIGN") si.mazi.rescu.ParamsDigest signature, @HeaderParam("FTX-SUBACCOUNT") String subaccount) throws IOException, FtxException- Throws:
IOException
FtxException
-
getLendingRates
@GET @Path("/spot_margin/lending_rates") FtxResponse<List<FtxLendingRatesDto>> getLendingRates(@HeaderParam("FTX-KEY") String apiKey, @HeaderParam("FTX-TS") Long nonce, @HeaderParam("FTX-SIGN") si.mazi.rescu.ParamsDigest signature) throws IOException, FtxException- Throws:
IOException
FtxException
-
getlendingHistories
@GET @Path("/spot_margin/lending_history") FtxResponse<List<FtxLendingHistoryDto>> getlendingHistories(@HeaderParam("FTX-KEY") String apiKey, @HeaderParam("FTX-TS") Long nonce, @HeaderParam("FTX-SIGN") si.mazi.rescu.ParamsDigest signature, @HeaderParam("FTX-SUBACCOUNT") String subaccount) throws IOException, FtxException- Throws:
IOException
FtxException
-
submitLendingOffer
@POST @Path("/spot_margin/offers") FtxResponse submitLendingOffer(@HeaderParam("FTX-KEY") String apiKey, @HeaderParam("FTX-TS") Long nonce, @HeaderParam("FTX-SIGN") si.mazi.rescu.ParamsDigest signature, @HeaderParam("FTX-SUBACCOUNT") String subaccount, FtxSubmitLendingOfferParams payload) throws IOException, FtxException- Throws:
IOException
FtxException
-
getBorrowRates
@GET @Path("/spot_margin/borrow_rates") FtxResponse<List<FtxBorrowingRatesDto>> getBorrowRates(@HeaderParam("FTX-KEY") String apiKey, @HeaderParam("FTX-TS") Long nonce, @HeaderParam("FTX-SIGN") si.mazi.rescu.ParamsDigest signature) throws IOException, FtxException- Throws:
IOException
FtxException
-
getBorrowingInfos
@GET @Path("/spot_margin/borrow_info") FtxResponse<List<FtxBorrowingInfoDto>> getBorrowingInfos(@HeaderParam("FTX-KEY") String apiKey, @HeaderParam("FTX-TS") Long nonce, @HeaderParam("FTX-SIGN") si.mazi.rescu.ParamsDigest signature, @HeaderParam("FTX-SUBACCOUNT") String subaccount) throws IOException, FtxException- Throws:
IOException
FtxException
-
placeConditionalOrder
@POST @Path("/conditional_orders") FtxResponse<FtxConditionalOrderDto> placeConditionalOrder(@HeaderParam("FTX-KEY") String apiKey, @HeaderParam("FTX-TS") Long nonce, @HeaderParam("FTX-SIGN") si.mazi.rescu.ParamsDigest signature, @HeaderParam("FTX-SUBACCOUNT") String subaccount, FtxConditionalOrderRequestPayload payload) throws IOException, FtxException- Throws:
IOException
FtxException
-
modifyConditionalOrder
@POST @Path("/conditional_orders/{order_id}/modify") FtxResponse<FtxConditionalOrderDto> modifyConditionalOrder(@HeaderParam("FTX-KEY") String apiKey, @HeaderParam("FTX-TS") Long nonce, @HeaderParam("FTX-SIGN") si.mazi.rescu.ParamsDigest signature, @HeaderParam("FTX-SUBACCOUNT") String subaccount, @PathParam("order_id") String orderId, FtxModifyConditionalOrderRequestPayload payload) throws IOException, FtxException- Throws:
IOException
FtxException
-
cancelConditionalOrder
@DELETE @Path("/conditional_orders/{orderId}") FtxResponse<String> cancelConditionalOrder(@HeaderParam("FTX-KEY") String apiKey, @HeaderParam("FTX-TS") Long nonce, @HeaderParam("FTX-SIGN") si.mazi.rescu.ParamsDigest signature, @HeaderParam("FTX-SUBACCOUNT") String subaccount, @PathParam("orderId") String orderId) throws IOException, FtxException- Throws:
IOException
FtxException
-
conditionalOrderHistory
@GET @Path("/conditional_orders/history?market={market}") FtxResponse<List<FtxConditionalOrderDto>> conditionalOrderHistory(@HeaderParam("FTX-KEY") String apiKey, @HeaderParam("FTX-TS") Long nonce, @HeaderParam("FTX-SIGN") si.mazi.rescu.ParamsDigest signature, @HeaderParam("FTX-SUBACCOUNT") String subaccount, @PathParam("market") String market) throws IOException, FtxException- Throws:
IOException
FtxException
-
openConditionalOrders
@GET @Path("/conditional_orders?market={market}") FtxResponse<List<FtxConditionalOrderDto>> openConditionalOrders(@HeaderParam("FTX-KEY") String apiKey, @HeaderParam("FTX-TS") Long nonce, @HeaderParam("FTX-SIGN") si.mazi.rescu.ParamsDigest signature, @HeaderParam("FTX-SUBACCOUNT") String subaccount, @PathParam("market") String market) throws IOException, FtxException- Throws:
IOException
FtxException
-
getTriggers
@GET @Path("/conditional_orders/{id}/triggers") FtxResponse<List<FtxTriggerDto>> getTriggers(@HeaderParam("FTX-KEY") String apiKey, @HeaderParam("FTX-TS") Long nonce, @HeaderParam("FTX-SIGN") si.mazi.rescu.ParamsDigest signature, @HeaderParam("FTX-SUBACCOUNT") String subaccount, @PathParam("id") String id) throws IOException, FtxException- Throws:
IOException
FtxException
-