Package org.knowm.xchange.coindeal
Interface CoindealAuthenticated
- All Superinterfaces:
Coindeal
@Path("api/") @Produces("application/json") public interface CoindealAuthenticated extends Coindeal
-
Field Summary
Fields Modifier and Type Field Description static String
HEADER_AUTH
-
Method Summary
Modifier and Type Method Description CoindealOrder
cancelOrderById(si.mazi.rescu.ParamsDigest credentials, String cliendOrderId)
List<CoindealOrder>
cancelOrders(si.mazi.rescu.ParamsDigest credentials, String symbol)
List<CoindealOrder>
getActiveOrders(si.mazi.rescu.ParamsDigest credentials, String currencyPair)
List<CoindealBalance>
getBalances(si.mazi.rescu.ParamsDigest credentials)
CoindealOrder
getOrderById(si.mazi.rescu.ParamsDigest credentials, String cliendOrderId)
List<CoindealTradeHistory>
getTradeHistory(si.mazi.rescu.ParamsDigest credentials, String currencyPair, int limit)
CoindealOrder
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:
- Constant Field Values
-
-
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
-