Interface BitcointoyouAuthenticated


@Path("API/")
@Produces("application/json")
@Consumes("application/x-www-form-urlencoded")
public interface BitcointoyouAuthenticated
Bitcointoyou Exchange end-points that needs a credential to be used.
Author:
Danilo Guimaraes, Jonathas Carrijo
  • Method Details

    • returnBalances

      @GET @Path("balance.aspx") BitcointoyouBalance returnBalances​(@HeaderParam("key") String apiKey, @HeaderParam("nonce") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @HeaderParam("signature") si.mazi.rescu.ParamsDigest signature)
    • returnOrderById

      @POST @Path("getorders.aspx") BitcointoyouOrderResponse returnOrderById​(@HeaderParam("key") String apiKey, @HeaderParam("nonce") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @HeaderParam("signature") si.mazi.rescu.ParamsDigest signature, @QueryParam("id") String orderId) throws IOException
      Throws:
      IOException
    • returnOpenOrders

      @GET @Path("getorders.aspx?status=OPEN") BitcointoyouOrderResponse returnOpenOrders​(@HeaderParam("key") String apiKey, @HeaderParam("nonce") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @HeaderParam("signature") si.mazi.rescu.ParamsDigest signature) throws IOException
      Throws:
      IOException
    • returnCanceledOrders

      @GET @Path("getorders.aspx?status=CANCELED") HashMap<String,​BitcointoyouOrderResponse[]> returnCanceledOrders​(@HeaderParam("key") String apiKey, @HeaderParam("nonce") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @HeaderParam("signature") si.mazi.rescu.ParamsDigest signature) throws IOException
      Throws:
      IOException
    • returnExecutedOrders

      @GET @Path("getorders.aspx?status=EXECUTED") HashMap<String,​BitcointoyouOrderResponse[]> returnExecutedOrders​(@HeaderParam("key") String apiKey, @HeaderParam("nonce") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @HeaderParam("signature") si.mazi.rescu.ParamsDigest signature) throws IOException
      Throws:
      IOException
    • createOrder

      @POST @Path("createorder.aspx") BitcointoyouOrderResponse createOrder​(@HeaderParam("key") String apiKey, @HeaderParam("nonce") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @HeaderParam("signature") si.mazi.rescu.ParamsDigest signature, @QueryParam("asset") String currency, @QueryParam("action") String action, @QueryParam("amount") BigDecimal amount, @QueryParam("price") BigDecimal price) throws BitcointoyouException, IOException
      Throws:
      BitcointoyouException
      IOException
    • deleteOrder

      @POST @Path("deleteorders.aspx") HashMap<String,​String> deleteOrder​(@HeaderParam("key") String apiKey, @HeaderParam("nonce") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @HeaderParam("signature") si.mazi.rescu.ParamsDigest signature, @QueryParam("id") String orderNumber) throws IOException
      Throws:
      IOException