Package org.knowm.xchange.bankera
Interface BankeraAuthenticated
- All Superinterfaces:
Bankera
-
Method Summary
Modifier and TypeMethodDescriptioncancelAllOrders
(String authorization) cancelOrder
(String authorization, Long orderId, BaseBankeraRequest request) getOpenOrders
(String authorization, String market, Integer limit, Integer offset) getUserInfo
(String authorization) getUserOrder
(String authorization, String orderId) getUserTrades
(String authorization, String market) placeOrder
(String authorization, CreateOrderRequest request) Methods inherited from interface org.knowm.xchange.bankera.Bankera
getMarketInfo, getMarketTicker, getOrderbook, getRecentTrades, getToken
-
Method Details
-
getUserInfo
@GET @Path("users/info") BankeraUserInfo getUserInfo(@HeaderParam("Authorization") String authorization) throws BankeraException, IOException - Throws:
BankeraException
IOException
-
placeOrder
@POST @Consumes("application/json") @Path("orders/new") BankeraOrder placeOrder(@HeaderParam("Authorization") String authorization, CreateOrderRequest request) throws BankeraException, IOException - Throws:
BankeraException
IOException
-
getOpenOrders
@GET @Path("orders/open") BankeraOpenOrders getOpenOrders(@HeaderParam("Authorization") String authorization, @QueryParam("market") String market, @QueryParam("limit") Integer limit, @QueryParam("offset") Integer offset) throws BankeraException, IOException - Throws:
BankeraException
IOException
-
cancelOrder
@POST @Consumes("application/json") @Path("orders/cancel/{orderId}") BankeraOrder cancelOrder(@HeaderParam("Authorization") String authorization, @PathParam("orderId") Long orderId, BaseBankeraRequest request) throws BankeraException, IOException - Throws:
BankeraException
IOException
-
cancelAllOrders
@POST @Path("orders/cancel/all") List<BankeraOrder> cancelAllOrders(@HeaderParam("Authorization") String authorization) throws BankeraException, IOException - Throws:
BankeraException
IOException
-
getUserTrades
@GET @Path("trades/history") BankeraUserTrades getUserTrades(@HeaderParam("Authorization") String authorization, @QueryParam("market") String market) throws BankeraException, IOException - Throws:
BankeraException
IOException
-
getUserOrder
@GET @Path("orders/details") BankeraOrder getUserOrder(@HeaderParam("Authorization") String authorization, @QueryParam("orderId") String orderId) throws BankeraException, IOException - Throws:
BankeraException
IOException
-