Package org.knowm.xchange.gemini.v1
Interface GeminiAuthenticated
- All Superinterfaces:
Gemini
@Path("v1")
@Produces("application/json")
@Consumes("application/json")
public interface GeminiAuthenticated
extends Gemini
-
Method Summary
Modifier and TypeMethodDescriptionactiveOrders
(String apiKey, si.mazi.rescu.ParamsDigest payload, si.mazi.rescu.ParamsDigest signature, GeminiNonceOnlyRequest nonceOnlyRequest) balances
(String apiKey, si.mazi.rescu.ParamsDigest payload, si.mazi.rescu.ParamsDigest signature, GeminiBalancesRequest balancesRequest) cancelAllOrders
(String apiKey, si.mazi.rescu.ParamsDigest payload, si.mazi.rescu.ParamsDigest signature, GeminiCancelAllOrdersRequest cancelAllOrdersRequest) cancelAllSessionOrders
(String apiKey, si.mazi.rescu.ParamsDigest payload, si.mazi.rescu.ParamsDigest signature, GeminiCancelAllOrdersRequest cancelAllOrdersRequest) cancelOrders
(String apiKey, si.mazi.rescu.ParamsDigest payload, si.mazi.rescu.ParamsDigest signature, GeminiCancelOrderRequest cancelOrderRequest) heartBeat
(String apiKey, si.mazi.rescu.ParamsDigest payloadCreator, si.mazi.rescu.ParamsDigest signatureCreator, GeminiNonceOnlyRequest nonceOnlyRequest) newOrder
(String apiKey, si.mazi.rescu.ParamsDigest payload, si.mazi.rescu.ParamsDigest signature, GeminiNewOrderRequest newOrderRequest) orderStatus
(String apiKey, si.mazi.rescu.ParamsDigest payload, si.mazi.rescu.ParamsDigest signature, GeminiOrderStatusRequest orderStatusRequest) pastTrades
(String apiKey, si.mazi.rescu.ParamsDigest payload, si.mazi.rescu.ParamsDigest signature, GeminiPastTradesRequest pastTradesRequest) requestNewAddress
(String apiKey, si.mazi.rescu.ParamsDigest payload, si.mazi.rescu.ParamsDigest signature, String currency, GeminiDepositAddressRequest depositRequest) TrailingVolume
(String apiKey, si.mazi.rescu.ParamsDigest payload, si.mazi.rescu.ParamsDigest signature, GeminiTrailingVolumeRequest pastTradesRequest) transfers
(String apiKey, si.mazi.rescu.ParamsDigest payloadCreator, si.mazi.rescu.ParamsDigest signatureCreator, GeminiTransfersRequest request) withdraw
(String apiKey, si.mazi.rescu.ParamsDigest payload, si.mazi.rescu.ParamsDigest signature, String currency, GeminiWithdrawalRequest withdrawalRequest) Methods inherited from interface org.knowm.xchange.gemini.v1.Gemini
getBook, getBook, getLendBook, getLends, getSymbols, getTicker, getTrades
-
Method Details
-
newOrder
@POST @Path("order/new") GeminiOrderStatusResponse newOrder(@HeaderParam("X-GEMINI-APIKEY") String apiKey, @HeaderParam("X-GEMINI-PAYLOAD") si.mazi.rescu.ParamsDigest payload, @HeaderParam("X-GEMINI-SIGNATURE") si.mazi.rescu.ParamsDigest signature, GeminiNewOrderRequest newOrderRequest) throws IOException, GeminiException - Throws:
IOException
GeminiException
-
balances
@POST @Path("balances") GeminiBalancesResponse[] balances(@HeaderParam("X-GEMINI-APIKEY") String apiKey, @HeaderParam("X-GEMINI-PAYLOAD") si.mazi.rescu.ParamsDigest payload, @HeaderParam("X-GEMINI-SIGNATURE") si.mazi.rescu.ParamsDigest signature, GeminiBalancesRequest balancesRequest) throws IOException, GeminiException - Throws:
IOException
GeminiException
-
cancelOrders
@POST @Path("order/cancel") GeminiOrderStatusResponse cancelOrders(@HeaderParam("X-GEMINI-APIKEY") String apiKey, @HeaderParam("X-GEMINI-PAYLOAD") si.mazi.rescu.ParamsDigest payload, @HeaderParam("X-GEMINI-SIGNATURE") si.mazi.rescu.ParamsDigest signature, GeminiCancelOrderRequest cancelOrderRequest) throws IOException, GeminiException - Throws:
IOException
GeminiException
-
cancelAllSessionOrders
@POST @Path("order/cancel/session") GeminiCancelAllOrdersResponse cancelAllSessionOrders(@HeaderParam("X-GEMINI-APIKEY") String apiKey, @HeaderParam("X-GEMINI-PAYLOAD") si.mazi.rescu.ParamsDigest payload, @HeaderParam("X-GEMINI-SIGNATURE") si.mazi.rescu.ParamsDigest signature, GeminiCancelAllOrdersRequest cancelAllOrdersRequest) throws IOException, GeminiException - Throws:
IOException
GeminiException
-
cancelAllOrders
@POST @Path("order/cancel/all") GeminiCancelAllOrdersResponse cancelAllOrders(@HeaderParam("X-GEMINI-APIKEY") String apiKey, @HeaderParam("X-GEMINI-PAYLOAD") si.mazi.rescu.ParamsDigest payload, @HeaderParam("X-GEMINI-SIGNATURE") si.mazi.rescu.ParamsDigest signature, GeminiCancelAllOrdersRequest cancelAllOrdersRequest) throws IOException, GeminiException - Throws:
IOException
GeminiException
-
activeOrders
@POST @Path("orders") GeminiOrderStatusResponse[] activeOrders(@HeaderParam("X-GEMINI-APIKEY") String apiKey, @HeaderParam("X-GEMINI-PAYLOAD") si.mazi.rescu.ParamsDigest payload, @HeaderParam("X-GEMINI-SIGNATURE") si.mazi.rescu.ParamsDigest signature, GeminiNonceOnlyRequest nonceOnlyRequest) throws IOException, GeminiException - Throws:
IOException
GeminiException
-
orderStatus
@POST @Path("order/status") @Consumes("application/json") @Produces("application/json") GeminiOrderStatusResponse orderStatus(@HeaderParam("X-GEMINI-APIKEY") String apiKey, @HeaderParam("X-GEMINI-PAYLOAD") si.mazi.rescu.ParamsDigest payload, @HeaderParam("X-GEMINI-SIGNATURE") si.mazi.rescu.ParamsDigest signature, GeminiOrderStatusRequest orderStatusRequest) throws IOException, GeminiException - Throws:
IOException
GeminiException
-
pastTrades
@POST @Path("mytrades") GeminiTradeResponse[] pastTrades(@HeaderParam("X-GEMINI-APIKEY") String apiKey, @HeaderParam("X-GEMINI-PAYLOAD") si.mazi.rescu.ParamsDigest payload, @HeaderParam("X-GEMINI-SIGNATURE") si.mazi.rescu.ParamsDigest signature, GeminiPastTradesRequest pastTradesRequest) throws IOException, GeminiException - Throws:
IOException
GeminiException
-
TrailingVolume
@POST @Path("notionalvolume") GeminiTrailingVolumeResponse TrailingVolume(@HeaderParam("X-GEMINI-APIKEY") String apiKey, @HeaderParam("X-GEMINI-PAYLOAD") si.mazi.rescu.ParamsDigest payload, @HeaderParam("X-GEMINI-SIGNATURE") si.mazi.rescu.ParamsDigest signature, GeminiTrailingVolumeRequest pastTradesRequest) throws IOException, GeminiException - Throws:
IOException
GeminiException
-
withdraw
@POST @Path("withdraw/{currency}") GeminiWithdrawalResponse withdraw(@HeaderParam("X-GEMINI-APIKEY") String apiKey, @HeaderParam("X-GEMINI-PAYLOAD") si.mazi.rescu.ParamsDigest payload, @HeaderParam("X-GEMINI-SIGNATURE") si.mazi.rescu.ParamsDigest signature, @PathParam("currency") String currency, GeminiWithdrawalRequest withdrawalRequest) throws IOException, GeminiException - Throws:
IOException
GeminiException
-
requestNewAddress
@POST @Path("deposit/{currency}/newAddress") GeminiDepositAddressResponse requestNewAddress(@HeaderParam("X-GEMINI-APIKEY") String apiKey, @HeaderParam("X-GEMINI-PAYLOAD") si.mazi.rescu.ParamsDigest payload, @HeaderParam("X-GEMINI-SIGNATURE") si.mazi.rescu.ParamsDigest signature, @PathParam("currency") String currency, GeminiDepositAddressRequest depositRequest) throws IOException, GeminiException - Throws:
IOException
GeminiException
-
transfers
@POST @Path("transfers") GeminiTransfersResponse transfers(@HeaderParam("X-GEMINI-APIKEY") String apiKey, @HeaderParam("X-GEMINI-PAYLOAD") si.mazi.rescu.ParamsDigest payloadCreator, @HeaderParam("X-GEMINI-SIGNATURE") si.mazi.rescu.ParamsDigest signatureCreator, GeminiTransfersRequest request) throws IOException, GeminiException - Throws:
IOException
GeminiException
-
heartBeat
@POST @Path("heartbeat") GeminiOrderStatusResponse heartBeat(@HeaderParam("X-GEMINI-APIKEY") String apiKey, @HeaderParam("X-GEMINI-PAYLOAD") si.mazi.rescu.ParamsDigest payloadCreator, @HeaderParam("X-GEMINI-SIGNATURE") si.mazi.rescu.ParamsDigest signatureCreator, GeminiNonceOnlyRequest nonceOnlyRequest) throws IOException, GeminiException - Throws:
IOException
GeminiException
-