Interface BxAuthenticated

  • All Superinterfaces:
    Bx

    @Path("/api/")
    @Produces("application/json")
    public interface BxAuthenticated
    extends Bx
    • Method Detail

      • createOrder

        @POST
        @Path("order/")
        BxCreateOrderResult createOrder​(@FormParam("pairing")
                                        String pairId,
                                        @FormParam("type")
                                        String orderType,
                                        @FormParam("amount")
                                        String amount,
                                        @FormParam("rate")
                                        String rate,
                                        @FormParam("key")
                                        String apiKey,
                                        @FormParam("nonce")
                                        si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                        @FormParam("signature")
                                        si.mazi.rescu.ParamsDigest signature)
                                 throws IOException
        Throws:
        IOException
      • cancelOrder

        @POST
        @Path("cancel/")
        BxCancelOrderResult cancelOrder​(@FormParam("pairing")
                                        String pairId,
                                        @FormParam("order_id")
                                        String orderId,
                                        @FormParam("key")
                                        String apiKey,
                                        @FormParam("nonce")
                                        si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                        @FormParam("signature")
                                        si.mazi.rescu.ParamsDigest signature)
                                 throws IOException
        Throws:
        IOException
      • getBalance

        @POST
        @Path("balance/")
        BxBalanceResult getBalance​(@FormParam("key")
                                   String apiKey,
                                   @FormParam("nonce")
                                   si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                   @FormParam("signature")
                                   si.mazi.rescu.ParamsDigest signature)
                            throws IOException
        Throws:
        IOException
      • getTradeHistory

        @POST
        @Path("history/")
        BxTradeHistoryResult getTradeHistory​(@FormParam("currency")
                                             String currency,
                                             @FormParam("type")
                                             String transactionType,
                                             @FormParam("start_date")
                                             String startDate,
                                             @FormParam("end_date")
                                             String endDate,
                                             @FormParam("key")
                                             String apiKey,
                                             @FormParam("nonce")
                                             si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                             @FormParam("signature")
                                             si.mazi.rescu.ParamsDigest signature)
                                      throws IOException
        Throws:
        IOException
      • getOrders

        @POST
        @Path("getorders/")
        BxOrdersResult getOrders​(@FormParam("pairing")
                                 String pairId,
                                 @FormParam("type")
                                 String orderType,
                                 @FormParam("key")
                                 String apiKey,
                                 @FormParam("nonce")
                                 si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
                                 @FormParam("signature")
                                 si.mazi.rescu.ParamsDigest signature)
                          throws IOException
        Throws:
        IOException