Interface CryptoFacilitiesAuthenticated

  • All Superinterfaces:
    CryptoFacilities

    @Path("/api/v3")
    @Produces("application/json")
    public interface CryptoFacilitiesAuthenticated
    extends CryptoFacilities
    Author:
    Jean-Christophe Laruelle
    • Method Detail

      • accounts

        @GET
        @Path("accounts")
        CryptoFacilitiesAccounts accounts​(@HeaderParam("APIKey")
                                          String apiKey,
                                          @HeaderParam("Authent")
                                          si.mazi.rescu.ParamsDigest signer,
                                          @HeaderParam("Nonce")
                                          si.mazi.rescu.SynchronizedValueFactory<Long> nonce)
                                   throws IOException
        Throws:
        IOException
      • sendOrder

        @POST
        @Path("sendorder")
        CryptoFacilitiesOrder sendOrder​(@HeaderParam("APIKey")
                                        String apiKey,
                                        @HeaderParam("Authent")
                                        si.mazi.rescu.ParamsDigest signer,
                                        @HeaderParam("Nonce")
                                        si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                        @QueryParam("orderType")
                                        String orderType,
                                        @QueryParam("symbol")
                                        String symbol,
                                        @QueryParam("side")
                                        String side,
                                        @QueryParam("size")
                                        BigDecimal size,
                                        @QueryParam("limitPrice")
                                        BigDecimal limitPrice)
                                 throws IOException
        Throws:
        IOException
      • batchOrder

        @POST
        @Path("batchorder")
        BatchOrderResult batchOrder​(@HeaderParam("APIKey")
                                    String apiKey,
                                    @HeaderParam("Authent")
                                    si.mazi.rescu.ParamsDigest signer,
                                    @HeaderParam("Nonce")
                                    si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                    @FormParam("json")
                                    BatchOrder orderCommands)
                             throws IOException
        Throws:
        IOException
      • cancelOrder

        @POST
        @Path("cancelorder")
        CryptoFacilitiesCancel cancelOrder​(@HeaderParam("APIKey")
                                           String apiKey,
                                           @HeaderParam("Authent")
                                           si.mazi.rescu.ParamsDigest signer,
                                           @HeaderParam("Nonce")
                                           si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                           @QueryParam("order_id")
                                           String order_id)
                                    throws IOException
        Throws:
        IOException
      • cancelAllOrdersAfter

        @POST
        @Path("cancelallordersafter")
        CryptoFacilitiesCancelAllOrdersAfter cancelAllOrdersAfter​(@HeaderParam("APIKey")
                                                                  String apiKey,
                                                                  @HeaderParam("Authent")
                                                                  si.mazi.rescu.ParamsDigest signer,
                                                                  @HeaderParam("Nonce")
                                                                  si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                                                  @QueryParam("timeout")
                                                                  long timeoutSeconds)
                                                           throws IOException
        Throws:
        IOException
      • openOrders

        @GET
        @Path("openorders")
        CryptoFacilitiesOpenOrders openOrders​(@HeaderParam("APIKey")
                                              String apiKey,
                                              @HeaderParam("Authent")
                                              si.mazi.rescu.ParamsDigest signer,
                                              @HeaderParam("Nonce")
                                              si.mazi.rescu.SynchronizedValueFactory<Long> nonce)
                                       throws IOException
        Throws:
        IOException
      • fills

        @GET
        @Path("fills")
        CryptoFacilitiesFills fills​(@HeaderParam("APIKey")
                                    String apiKey,
                                    @HeaderParam("Authent")
                                    si.mazi.rescu.ParamsDigest signer,
                                    @HeaderParam("Nonce")
                                    si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                    @QueryParam("lastFillTime")
                                    String lastFillTime)
                             throws IOException
        Throws:
        IOException