Package org.knowm.xchange.enigma
Interface EnigmaAuthenticated
- All Superinterfaces:
Enigma
-
Method Summary
Modifier and TypeMethodDescriptionaskForQuote
(String accessToken, EnigmaQuoteRequest quoteRequest) cancelOrder
(String accessToken) depositAddress
(String accessToken, String currency) executeQuoteRequest
(String accessToken, EnigmaExecuteQuoteRequest quoteRequest) getAccountRiskLimits
(String accessToken) getAllWithdrawals
(String accessToken) getBalance
(String accessToken, String infrastructure) getOrderBook
(String accessToken, String pair) getProductMarketData
(String accessToken, int productId) getProducts
(String accessToken) getTransactions
(String accessToken, String infrastructure) openOrders
(String accessToken) submitLimitOrder
(String accessToken, EnigmaLimitOrderRequest orderRequest) submitOrder
(String accessToken, EnigmaNewOrderRequest orderRequest) withdrawal
(String accessToken, EnigmaWithdrawalRequest withdrawalRequest) withdrawal
(String accessToken, EnigmaWithdrawFundsRequest withdrawalRequest)
-
Method Details
-
getProducts
@GET @Path("product") List<EnigmaProduct> getProducts(@HeaderParam("Authorization") String accessToken) throws IOException - Throws:
IOException
-
getTicker
@GET @Path("xchange/indicative/market/data/{product-id}") EnigmaTicker getTicker(@HeaderParam("Authorization") String accessToken, @PathParam("product-id") int productId) throws IOException - Throws:
IOException
-
getOrderBook
@GET @Path("xchange/orderbook/{pair}") EnigmaOrderBook getOrderBook(@HeaderParam("Authorization") String accessToken, @PathParam("pair") String pair) throws IOException - Throws:
IOException
-
getTransactions
@GET @Path("order/client/list/false/{infra}") EnigmaTransaction[] getTransactions(@HeaderParam("Authorization") String accessToken, @PathParam("infra") String infrastructure) throws IOException - Throws:
IOException
-
getProductMarketData
@GET @Path("spot/{product-id}") EnigmaProductMarketData getProductMarketData(@HeaderParam("Authorization") String accessToken, @PathParam("product-id") int productId) throws IOException - Throws:
IOException
-
getAccountRiskLimits
@GET @Path("risk/limit") Map<String,BigDecimal> getAccountRiskLimits(@HeaderParam("Authorization") String accessToken) throws IOException - Throws:
IOException
-
submitOrder
@POST @Path("order/new") @Consumes("application/json") EnigmaOrderSubmission submitOrder(@HeaderParam("Authorization") String accessToken, EnigmaNewOrderRequest orderRequest) throws IOException - Throws:
IOException
-
submitLimitOrder
@POST @Path("order/new") @Consumes("application/json") EnigmaOrderSubmission submitLimitOrder(@HeaderParam("Authorization") String accessToken, EnigmaLimitOrderRequest orderRequest) throws IOException - Throws:
IOException
-
cancelOrder
@GET @Path("xchange/cancel/order/") @Consumes("application/json") BaseResponse cancelOrder(@HeaderParam("Authorization") String accessToken) throws IOException - Throws:
IOException
-
askForQuote
@POST @Path("rfq/new") @Consumes("application/json") EnigmaQuote askForQuote(@HeaderParam("Authorization") String accessToken, EnigmaQuoteRequest quoteRequest) throws IOException - Throws:
IOException
-
executeQuoteRequest
@POST @Path("rfq/execute") @Consumes("application/json") EnigmaExecutedQuote executeQuoteRequest(@HeaderParam("Authorization") String accessToken, EnigmaExecuteQuoteRequest quoteRequest) throws IOException - Throws:
IOException
-
getBalance
@GET @Path("balance/{infra}") Map<String,BigDecimal> getBalance(@HeaderParam("Authorization") String accessToken, @PathParam("infra") String infrastructure) throws IOException - Throws:
IOException
-
getAllWithdrawals
@GET @Path("settlement/list") List<EnigmaWithdrawal> getAllWithdrawals(@HeaderParam("Authorization") String accessToken) -
withdrawal
@POST @Path("withdrawal/new") EnigmaWithdrawal withdrawal(@HeaderParam("Authorization") String accessToken, EnigmaWithdrawalRequest withdrawalRequest) -
withdrawal
@POST @Path("settlement/new") EnigmaWithdrawal withdrawal(@HeaderParam("Authorization") String accessToken, EnigmaWithdrawFundsRequest withdrawalRequest) -
depositAddress
-
openOrders
@GET @Path("xchange/order/open") EnigmaOpenOrders openOrders(@HeaderParam("Authorization") String accessToken)
-