Interface KrakenFuturesAuthenticated

All Superinterfaces:
KrakenFutures

@Path("/api/v3") @Produces("application/json") public interface KrakenFuturesAuthenticated extends KrakenFutures
Author:
Jean-Christophe Laruelle
  • Method Details

    • accounts

      @GET @Path("accounts") KrakenFuturesAccounts 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") KrakenFuturesOrder 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, @QueryParam("cliOrdId") String cliOrdId, @QueryParam("reduceOnly") boolean reduceOnly, @QueryParam("stopPrice") BigDecimal stopPrice, @QueryParam("triggerSignal") String triggerSignal) 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") KrakenFuturesCancel 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
    • cancelAllOrdersByInstrument

      @POST @Path("cancelallorders") KrakenFuturesCancelAllOrders cancelAllOrdersByInstrument(@HeaderParam("APIKey") String apiKey, @HeaderParam("Authent") si.mazi.rescu.ParamsDigest signer, @HeaderParam("Nonce") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @QueryParam("symbol") String symbol) throws IOException
      Throws:
      IOException
    • cancelAllOrdersAfter

      @POST @Path("cancelallordersafter") KrakenFuturesCancelAllOrdersAfter 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") KrakenFuturesOpenOrders openOrders(@HeaderParam("APIKey") String apiKey, @HeaderParam("Authent") si.mazi.rescu.ParamsDigest signer, @HeaderParam("Nonce") si.mazi.rescu.SynchronizedValueFactory<Long> nonce) throws IOException
      Throws:
      IOException
    • getOrdersStatuses

      @POST @Path("orders/status") @Produces("application/x-www-form-urlencoded") KrakenFuturesOrdersStatusesResponse getOrdersStatuses(@HeaderParam("APIKey") String apiKey, @HeaderParam("Authent") si.mazi.rescu.ParamsDigest signer, @HeaderParam("Nonce") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, KrakenFuturesOrderStatusRequest orderIds) throws IOException
      Throws:
      IOException
    • changeOrder

      @POST @Path("editorder") KrakenFuturesEditOrderResponse changeOrder(@HeaderParam("APIKey") String apiKey, @HeaderParam("Authent") si.mazi.rescu.ParamsDigest signer, @HeaderParam("Nonce") si.mazi.rescu.SynchronizedValueFactory<Long> nonce, @QueryParam("cliOrdId") String cliOrdId, @QueryParam("limitPrice") BigDecimal limitPrice, @QueryParam("orderId") String orderId, @QueryParam("size") BigDecimal size, @QueryParam("stopPrice") BigDecimal stopPrice) throws IOException
      Throws:
      IOException
    • fills

      @GET @Path("fills") KrakenFuturesFills 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
    • openPositions

      @GET @Path("openpositions") KrakenFuturesOpenPositions openPositions(@HeaderParam("APIKey") String apiKey, @HeaderParam("Authent") si.mazi.rescu.ParamsDigest signer, @HeaderParam("Nonce") si.mazi.rescu.SynchronizedValueFactory<Long> nonce) throws IOException
      Throws:
      IOException