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:
IOExceptionGeminiException
-
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:
IOExceptionGeminiException
-
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:
IOExceptionGeminiException
-
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:
IOExceptionGeminiException
-
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:
IOExceptionGeminiException
-
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:
IOExceptionGeminiException
-
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:
IOExceptionGeminiException
-
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:
IOExceptionGeminiException
-
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:
IOExceptionGeminiException
-
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:
IOExceptionGeminiException
-
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:
IOExceptionGeminiException
-
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:
IOExceptionGeminiException
-
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:
IOExceptionGeminiException
-