Package org.knowm.xchange.coindeal
Interface CoindealAuthenticated
- All Superinterfaces:
Coindeal
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncancelOrderById
(si.mazi.rescu.ParamsDigest credentials, String cliendOrderId) cancelOrders
(si.mazi.rescu.ParamsDigest credentials, String symbol) getActiveOrders
(si.mazi.rescu.ParamsDigest credentials, String currencyPair) getBalances
(si.mazi.rescu.ParamsDigest credentials) getOrderById
(si.mazi.rescu.ParamsDigest credentials, String cliendOrderId) getTradeHistory
(si.mazi.rescu.ParamsDigest credentials, String currencyPair, int limit) placeOrder
(si.mazi.rescu.ParamsDigest credentials, String symbol, String side, String type, String timeInForce, double quantity, double price) Methods inherited from interface org.knowm.xchange.coindeal.Coindeal
getOrderBook
-
Field Details
-
HEADER_AUTH
- See Also:
-
-
Method Details
-
getBalances
@GET @Path("v1/trading/balance") List<CoindealBalance> getBalances(@HeaderParam("authorization") si.mazi.rescu.ParamsDigest credentials) throws IOException - Throws:
IOException
-
getTradeHistory
@GET @Path("v2/history/trades") List<CoindealTradeHistory> getTradeHistory(@HeaderParam("authorization") si.mazi.rescu.ParamsDigest credentials, @QueryParam("symbol") String currencyPair, @QueryParam("limit") int limit) throws IOException - Throws:
IOException
-
getActiveOrders
@GET @Path("v1/order") List<CoindealOrder> getActiveOrders(@HeaderParam("authorization") si.mazi.rescu.ParamsDigest credentials, @QueryParam("symbol") String currencyPair) throws IOException - Throws:
IOException
-
placeOrder
@POST @Path("v1/order") CoindealOrder placeOrder(@HeaderParam("authorization") si.mazi.rescu.ParamsDigest credentials, @FormParam("symbol") String symbol, @FormParam("side") String side, @FormParam("type") String type, @FormParam("timeInForce") String timeInForce, @FormParam("quantity") double quantity, @FormParam("price") double price) throws IOException - Throws:
IOException
-
cancelOrders
@DELETE @Path("v1/order") List<CoindealOrder> cancelOrders(@HeaderParam("authorization") si.mazi.rescu.ParamsDigest credentials, @FormParam("symbol") String symbol) throws IOException - Throws:
IOException
-
cancelOrderById
@DELETE @Path("v1/order/{clientOrderId}") CoindealOrder cancelOrderById(@HeaderParam("authorization") si.mazi.rescu.ParamsDigest credentials, @PathParam("clientOrderId") String cliendOrderId) throws IOException - Throws:
IOException
-
getOrderById
@GET @Path("v1/order/{clientOrderId}") CoindealOrder getOrderById(@HeaderParam("authorization") si.mazi.rescu.ParamsDigest credentials, @PathParam("clientOrderId") String cliendOrderId) throws IOException - Throws:
IOException
-