Interface CoindealAuthenticated

All Superinterfaces:
Coindeal

@Path("api/")
@Produces("application/json")
public interface CoindealAuthenticated
extends Coindeal
  • Field Details

  • 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