- All Superinterfaces:
CryptoFacilities
@Path("/api/v3")
@Produces("application/json")
public interface CryptoFacilitiesAuthenticated
extends CryptoFacilities
- Author:
- Jean-Christophe Laruelle
-
Method Summary
Modifier and Type |
Method |
Description |
CryptoFacilitiesAccounts |
accounts(String apiKey,
si.mazi.rescu.ParamsDigest signer,
si.mazi.rescu.SynchronizedValueFactory<Long> nonce) |
|
BatchOrderResult |
batchOrder(String apiKey,
si.mazi.rescu.ParamsDigest signer,
si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
BatchOrder orderCommands) |
|
CryptoFacilitiesCancelAllOrdersAfter |
cancelAllOrdersAfter(String apiKey,
si.mazi.rescu.ParamsDigest signer,
si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
long timeoutSeconds) |
|
CryptoFacilitiesCancel |
cancelOrder(String apiKey,
si.mazi.rescu.ParamsDigest signer,
si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
String order_id) |
|
CryptoFacilitiesFills |
fills(String apiKey,
si.mazi.rescu.ParamsDigest signer,
si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
String lastFillTime) |
|
CryptoFacilitiesOpenOrders |
openOrders(String apiKey,
si.mazi.rescu.ParamsDigest signer,
si.mazi.rescu.SynchronizedValueFactory<Long> nonce) |
|
CryptoFacilitiesOpenPositions |
openPositions(String apiKey,
si.mazi.rescu.ParamsDigest signer,
si.mazi.rescu.SynchronizedValueFactory<Long> nonce) |
|
CryptoFacilitiesOrder |
sendOrder(String apiKey,
si.mazi.rescu.ParamsDigest signer,
si.mazi.rescu.SynchronizedValueFactory<Long> nonce,
String orderType,
String symbol,
String side,
BigDecimal size,
BigDecimal limitPrice,
BigDecimal stopPrice) |
|
-
Method Details
-
-
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,
@QueryParam("stopPrice")
BigDecimal stopPrice)
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
-
-
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
-