Package org.knowm.xchange.lykke
Interface LykkeAuthenticated
- All Superinterfaces:
Lykke
@Path("api/")
@Produces("application/json")
@Consumes("application/json")
public interface LykkeAuthenticated
extends Lykke
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptioncancelAllOrders
(String assetPairId, String apiKey) void
cancelOrderById
(String id, String apiKey) getLastOrders
(String status, int limit, String apiKey) getTradeHistory
(String assetPair, int limit, String apiKey) getTradeHistoryById
(String tradeId, String apiKey) getWallets
(String apiKey) postLimitOrder
(LykkeLimitOrder order, String apiKey) Methods inherited from interface org.knowm.xchange.lykke.Lykke
getAllOrderBooks, getAssetPairById, getAssetPairs, getLykkeAsset, getOrderBookByAssetPair
-
Field Details
-
ApiKey
- See Also:
-
-
Method Details
-
getTradeHistory
@GET @Path("history/trades") List<LykkeTradeHistory> getTradeHistory(@QueryParam("assetPairId") String assetPair, @QueryParam("take") int limit, @HeaderParam("api-key") String apiKey) throws IOException, LykkeException - Throws:
IOException
LykkeException
-
getTradeHistoryById
@GET @Path("history/trades/{tradeId}") LykkeTradeHistory getTradeHistoryById(@PathParam("tradeId") String tradeId, @HeaderParam("api-key") String apiKey) throws IOException, LykkeException - Throws:
IOException
LykkeException
-
getWallets
@GET @Path("wallets") List<LykkeWallet> getWallets(@HeaderParam("api-key") String apiKey) throws IOException, LykkeException - Throws:
IOException
LykkeException
-
getLastOrders
@GET @Path("orders") List<LykkeOrder> getLastOrders(@QueryParam("status") String status, @QueryParam("take") int limit, @HeaderParam("api-key") String apiKey) throws IOException, LykkeException - Throws:
IOException
LykkeException
-
postLimitOrder
@POST @Path("orders/limit") String postLimitOrder(LykkeLimitOrder order, @HeaderParam("api-key") String apiKey) throws IOException, LykkeException - Throws:
IOException
LykkeException
-
cancelOrderById
@DELETE @Path("orders/{id}") void cancelOrderById(@PathParam("id") String id, @HeaderParam("api-key") String apiKey) throws IOException, LykkeException - Throws:
IOException
LykkeException
-
cancelAllOrders
@DELETE @Path("orders") String cancelAllOrders(@QueryParam("assetPairId") String assetPairId, @HeaderParam("api-key") String apiKey) throws IOException, LykkeException - Throws:
IOException
LykkeException
-