Interface ItBitAuthenticated


@Path("v1") @Produces("application/json") public interface ItBitAuthenticated
  • Method Details

    • getTicker

      @GET @Path("/markets/{ident}{currency}/ticker") ItBitTicker getTicker(@PathParam("ident") String tradeableIdentifier, @PathParam("currency") String currency) throws IOException, ItBitException
      Throws:
      IOException
      ItBitException
    • getInfo

      @GET @Path("wallets") ItBitAccountInfoReturn[] getInfo(@HeaderParam("Authorization") si.mazi.rescu.ParamsDigest signer, @HeaderParam("X-Auth-Timestamp") long timestamp, @HeaderParam("X-Auth-Nonce") si.mazi.rescu.SynchronizedValueFactory<Long> valueFactory, @QueryParam("userId") String userId) throws IOException, ItBitException
      Throws:
      IOException
      ItBitException
    • getWallet

      @GET @Path("wallets/{walletId}") ItBitAccountInfoReturn getWallet(@HeaderParam("Authorization") si.mazi.rescu.ParamsDigest signer, @HeaderParam("X-Auth-Timestamp") long timestamp, @HeaderParam("X-Auth-Nonce") si.mazi.rescu.SynchronizedValueFactory<Long> valueFactory, @PathParam("walletId") String walletId) throws IOException, ItBitException
      Throws:
      IOException
      ItBitException
    • getOrders

      @GET @Path("wallets/{walletId}/orders") ItBitOrder[] getOrders(@HeaderParam("Authorization") si.mazi.rescu.ParamsDigest signer, @HeaderParam("X-Auth-Timestamp") long timestamp, @HeaderParam("X-Auth-Nonce") si.mazi.rescu.SynchronizedValueFactory<Long> valueFactory, @QueryParam("instrument") String instrument, @QueryParam("page") String page, @QueryParam("perPage") String perPage, @QueryParam("status") String status, @PathParam("walletId") String walletId) throws IOException, ItBitException
      Throws:
      IOException
      ItBitException
    • getOrder

      @GET @Path("wallets/{walletId}/orders/{orderId}") ItBitOrder getOrder(@HeaderParam("Authorization") si.mazi.rescu.ParamsDigest signer, @HeaderParam("X-Auth-Timestamp") long timestamp, @HeaderParam("X-Auth-Nonce") si.mazi.rescu.SynchronizedValueFactory<Long> valueFactory, @PathParam("walletId") String walletId, @PathParam("orderId") String orderId) throws IOException, ItBitException
      Throws:
      IOException
      ItBitException
    • postOrder

      @POST @Path("wallets/{walletId}/orders") @Consumes("application/json") ItBitOrder postOrder(@HeaderParam("Authorization") si.mazi.rescu.ParamsDigest signer, @HeaderParam("X-Auth-Timestamp") long timestamp, @HeaderParam("X-Auth-Nonce") si.mazi.rescu.SynchronizedValueFactory<Long> valueFactory, @PathParam("walletId") String walletId, ItBitPlaceOrderRequest request) throws IOException, ItBitException
      Throws:
      IOException
      ItBitException
    • cancelOrder

      @DELETE @Path("wallets/{walletId}/orders/{orderId}") Object cancelOrder(@HeaderParam("Authorization") si.mazi.rescu.ParamsDigest signer, @HeaderParam("X-Auth-Timestamp") long timestamp, @HeaderParam("X-Auth-Nonce") si.mazi.rescu.SynchronizedValueFactory<Long> valueFactory, @PathParam("walletId") String walletId, @PathParam("orderId") String orderId) throws IOException, ItBitException
      Returns empty body, return object is always null
      Throws:
      IOException
      ItBitException
    • requestWithdrawal

      @POST @Path("wallets/{walletId}/cryptocurrency_withdrawals") @Consumes("application/json") ItBitWithdrawalResponse requestWithdrawal(@HeaderParam("Authorization") si.mazi.rescu.ParamsDigest signer, @HeaderParam("X-Auth-Timestamp") long timestamp, @HeaderParam("X-Auth-Nonce") si.mazi.rescu.SynchronizedValueFactory<Long> valueFactory, @PathParam("walletId") String walletId, ItBitWithdrawalRequest request) throws IOException, ItBitException
      Throws:
      IOException
      ItBitException
    • requestDeposit

      @POST @Path("wallets/{walletId}/cryptocurrency_deposits") @Consumes("application/json") ItBitDepositResponse requestDeposit(@HeaderParam("Authorization") si.mazi.rescu.ParamsDigest signer, @HeaderParam("X-Auth-Timestamp") long timestamp, @HeaderParam("X-Auth-Nonce") si.mazi.rescu.SynchronizedValueFactory<Long> valueFactory, @PathParam("walletId") String walletId, ItBitDepositRequest request) throws IOException, ItBitException
      Throws:
      IOException
      ItBitException
    • getUserTradeHistory

      @GET @Path("wallets/{walletId}/trades") @Consumes("application/json") ItBitTradeHistory getUserTradeHistory(@HeaderParam("Authorization") si.mazi.rescu.ParamsDigest signer, @HeaderParam("X-Auth-Timestamp") long timestamp, @HeaderParam("X-Auth-Nonce") si.mazi.rescu.SynchronizedValueFactory<Long> valueFactory, @PathParam("walletId") String walletId, @QueryParam("lastExecutionId") String lastExecutionId, @QueryParam("page") Integer page, @QueryParam("perPage") Integer perPage, @QueryParam("rangeStart") Date rangeStart, @QueryParam("rangeEnd") Date rangeEnd) throws IOException, ItBitException
      Throws:
      IOException
      ItBitException
    • wallets

      @GET @Path("wallets") @Consumes("application/json") List wallets(@HeaderParam("Authorization") si.mazi.rescu.ParamsDigest signatureCreator, @HeaderParam("X-Auth-Nonce") si.mazi.rescu.SynchronizedValueFactory<Long> nonceFactory, @HeaderParam("X-Auth-Timestamp") long timestamp, @QueryParam("userId") String userId, @QueryParam("page") int page, @QueryParam("perPage") int perPage)
    • fundingHistory

      @GET @Path("wallets/{walletId}/funding_history") @Consumes("application/json") ItBitFundingHistoryResponse fundingHistory(@HeaderParam("Authorization") si.mazi.rescu.ParamsDigest signatureCreator, @HeaderParam("X-Auth-Nonce") si.mazi.rescu.SynchronizedValueFactory<Long> nonceFactory, @HeaderParam("X-Auth-Timestamp") long timestamp, @PathParam("walletId") String walletId, @QueryParam("page") int page, @QueryParam("perPage") int perPage)