Package org.knowm.xchange.cexio
Interface CexIOAuthenticated
- All Superinterfaces:
CexIO
@Path("api") @Produces("application/json") @Consumes("application/json") public interface CexIOAuthenticated extends CexIO
-
Method Summary
Modifier and Type Method Description List<CexIOArchivedOrder>
archivedOrders(si.mazi.rescu.ParamsDigest signer, String baseCcy, String counterCcy, ArchivedOrdersRequest request)
CexIOCancelAllOrdersResponse
cancelAllOrders(si.mazi.rescu.ParamsDigest signer, String currencyA, String currencyB, CexIORequest request)
Object
cancelOrder(si.mazi.rescu.ParamsDigest signer, CexioSingleOrderIdRequest request)
CexIOCancelReplaceOrderResponse
cancelReplaceOrder(si.mazi.rescu.ParamsDigest signer, String currencyA, String currencyB, CexioCancelReplaceOrderRequest request)
CexioClosePositionResponse
closePosition(si.mazi.rescu.ParamsDigest signer, String symbol1, String symbol2, CexIOGetPositionRequest cexIOGetPositionRequest)
CexIOBalanceInfo
getBalance(si.mazi.rescu.ParamsDigest signer, CexIORequest cexIORequest)
CexIOCryptoAddress
getCryptoAddress(si.mazi.rescu.ParamsDigest signer, CexioCryptoAddressRequest request)
GHashIOHashrate
getHashrate(si.mazi.rescu.ParamsDigest signer)
CexIOFeeInfo
getMyFee(si.mazi.rescu.ParamsDigest signer, CexIORequest cexIORequest)
CexIOOpenOrders
getOpenOrders(si.mazi.rescu.ParamsDigest signer, String tradeableIdentifier, String currency, CexIORequest cexIORequest)
CexIOOpenOrders
getOpenOrders(si.mazi.rescu.ParamsDigest signer, CexIORequest cexIORequest)
CexioOpenPositionsResponse
getOpenPositions(si.mazi.rescu.ParamsDigest signer, String symbol1, String symbol2, CexIORequest emptyRequest)
CexIOOpenOrder
getOrder(si.mazi.rescu.ParamsDigest signer, CexioSingleOrderIdRequest request)
Map
getOrderRaw(si.mazi.rescu.ParamsDigest signer, CexioSingleOrderIdRequest request)
CexIOOrderTransactionsResponse
getOrderTransactions(si.mazi.rescu.ParamsDigest signer, CexioSingleOrderIdRequest request)
CexioPositionResponse
getPosition(si.mazi.rescu.ParamsDigest signer, CexIOGetPositionRequest cexIOGetPositionRequest)
GHashIOWorkers
getWorkers(si.mazi.rescu.ParamsDigest signer)
CexioOpenPositionResponse
openPosition(si.mazi.rescu.ParamsDigest signer, String symbol1, String symbol2, CexIOOpenPositionRequest cexIOOpenPositionRequest)
CexIOOrder
placeOrder(si.mazi.rescu.ParamsDigest signer, String currencyA, String currencyB, CexioPlaceOrderRequest placeOrderRequest)
Methods inherited from interface org.knowm.xchange.cexio.CexIO
getAllTickers, getCurrencyLimits, getDepth, getTicker, getTrades, getTradesSince
-
Method Details
-
getMyFee
@POST @Path("get_myfee") CexIOFeeInfo getMyFee(@HeaderParam("_ignored_") si.mazi.rescu.ParamsDigest signer, CexIORequest cexIORequest) throws IOException- Throws:
IOException
-
getBalance
@POST @Path("balance/") CexIOBalanceInfo getBalance(@HeaderParam("_ignored_") si.mazi.rescu.ParamsDigest signer, CexIORequest cexIORequest) throws IOException- Throws:
IOException
-
getOpenOrders
@POST @Path("open_orders/{ident}/{currency}/") CexIOOpenOrders getOpenOrders(@HeaderParam("_ignored_") si.mazi.rescu.ParamsDigest signer, @PathParam("ident") String tradeableIdentifier, @PathParam("currency") String currency, CexIORequest cexIORequest) throws IOException- Throws:
IOException
-
getOpenOrders
@POST @Path("open_orders/") CexIOOpenOrders getOpenOrders(@HeaderParam("_ignored_") si.mazi.rescu.ParamsDigest signer, CexIORequest cexIORequest) throws IOException- Throws:
IOException
-
cancelOrder
@POST @Path("cancel_order/") Object cancelOrder(@HeaderParam("_ignored_") si.mazi.rescu.ParamsDigest signer, CexioSingleOrderIdRequest request) throws IOException- Throws:
IOException
-
cancelAllOrders
@POST @Path("cancel_orders/{currencyA}/{currencyB}/") CexIOCancelAllOrdersResponse cancelAllOrders(@HeaderParam("_ignored_") si.mazi.rescu.ParamsDigest signer, @PathParam("currencyA") String currencyA, @PathParam("currencyB") String currencyB, CexIORequest request) throws IOException- Throws:
IOException
-
cancelReplaceOrder
@POST @Path("cancel_replace_order/{currencyA}/{currencyB}/") CexIOCancelReplaceOrderResponse cancelReplaceOrder(@HeaderParam("_ignored_") si.mazi.rescu.ParamsDigest signer, @PathParam("currencyA") String currencyA, @PathParam("currencyB") String currencyB, CexioCancelReplaceOrderRequest request) throws IOException- Throws:
IOException
-
placeOrder
@POST @Path("place_order/{currencyA}/{currencyB}/") CexIOOrder placeOrder(@HeaderParam("_ignored_") si.mazi.rescu.ParamsDigest signer, @PathParam("currencyA") String currencyA, @PathParam("currencyB") String currencyB, CexioPlaceOrderRequest placeOrderRequest) throws IOException- Throws:
IOException
-
getHashrate
@POST @Path("ghash.io/hashrate") GHashIOHashrate getHashrate(@HeaderParam("_ignored_") si.mazi.rescu.ParamsDigest signer) throws IOException- Throws:
IOException
-
getWorkers
@POST @Path("ghash.io/workers") GHashIOWorkers getWorkers(@HeaderParam("_ignored_") si.mazi.rescu.ParamsDigest signer) throws IOException- Throws:
IOException
-
archivedOrders
@POST @Path("archived_orders/{baseCcy}/{counterCcy}") List<CexIOArchivedOrder> archivedOrders(@HeaderParam("_ignored_") si.mazi.rescu.ParamsDigest signer, @PathParam("baseCcy") String baseCcy, @PathParam("counterCcy") String counterCcy, ArchivedOrdersRequest request) throws IOException- Throws:
IOException
-
getOrder
@POST @Path("get_order/") CexIOOpenOrder getOrder(@HeaderParam("_ignored_") si.mazi.rescu.ParamsDigest signer, CexioSingleOrderIdRequest request) throws IOException- Throws:
IOException
-
getOrderRaw
@POST @Path("get_order/") Map getOrderRaw(@HeaderParam("signature") si.mazi.rescu.ParamsDigest signer, CexioSingleOrderIdRequest request) throws IOException- Throws:
IOException
-
getOrderTransactions
@POST @Path("get_order_tx/") CexIOOrderTransactionsResponse getOrderTransactions(@HeaderParam("_ignored_") si.mazi.rescu.ParamsDigest signer, CexioSingleOrderIdRequest request) throws IOException- Throws:
IOException
-
getCryptoAddress
@POST @Path("get_address") CexIOCryptoAddress getCryptoAddress(@HeaderParam("_ignored_") si.mazi.rescu.ParamsDigest signer, CexioCryptoAddressRequest request) throws IOException- Throws:
IOException
-
openPosition
@POST @Path("open_position/{symbol1}/{symbol2}/") CexioOpenPositionResponse openPosition(@HeaderParam("_ignored_") si.mazi.rescu.ParamsDigest signer, @PathParam("symbol1") String symbol1, @PathParam("symbol2") String symbol2, CexIOOpenPositionRequest cexIOOpenPositionRequest) throws IOException- Throws:
IOException
-
getPosition
@POST @Path("get_position") CexioPositionResponse getPosition(@HeaderParam("_ignored_") si.mazi.rescu.ParamsDigest signer, CexIOGetPositionRequest cexIOGetPositionRequest) throws IOException- Throws:
IOException
-
closePosition
@POST @Path("close_position/{symbol1}/{symbol2}/") CexioClosePositionResponse closePosition(@HeaderParam("_ignored_") si.mazi.rescu.ParamsDigest signer, @PathParam("symbol1") String symbol1, @PathParam("symbol2") String symbol2, CexIOGetPositionRequest cexIOGetPositionRequest) throws IOException- Throws:
IOException
-
getOpenPositions
@POST @Path("open_positions/{symbol1}/{symbol2}/") CexioOpenPositionsResponse getOpenPositions(@HeaderParam("_ignored_") si.mazi.rescu.ParamsDigest signer, @PathParam("symbol1") String symbol1, @PathParam("symbol2") String symbol2, CexIORequest emptyRequest) throws IOException- Throws:
IOException
-