Package org.knowm.xchange.tradeogre
Interface TradeOgreAuthenticated
- All Superinterfaces:
TradeOgre
-
Method Summary
Modifier and TypeMethodDescriptiongetBalance
(String base64UserPwd, String currency) getBalances
(String base64UserPwd) Methods inherited from interface org.knowm.xchange.tradeogre.TradeOgre
getOrderBook, getTicker, getTickers
-
Method Details
-
getBalances
@GET @Path("account/balances") TradeOgreBalances getBalances(@HeaderParam("Authorization") String base64UserPwd) throws IOException - Throws:
IOException
-
getBalance
@POST @Path("account/balance") TradeOgreBalance getBalance(@HeaderParam("Authorization") String base64UserPwd, @FormParam("currency") String currency) throws IOException - Throws:
IOException
-
buy
@POST @Path("order/buy") TradeOgreTradeResponse buy(@HeaderParam("Authorization") String base64UserPwd, @FormParam("market") String market, @FormParam("quantity") String quantity, @FormParam("price") String price) throws IOException - Throws:
IOException
-
sell
@POST @Path("order/sell") TradeOgreTradeResponse sell(@HeaderParam("Authorization") String base64UserPwd, @FormParam("market") String market, @FormParam("quantity") String quantity, @FormParam("price") String price) throws IOException - Throws:
IOException
-
cancel
@POST @Path("order/cancel") TradeOgreTradeResponse cancel(@HeaderParam("Authorization") String base64UserPwd, @FormParam("uuid") String uuid) throws IOException - Throws:
IOException
-
getOrders
@POST @Path("account/orders") Collection<TradeOgreOrder> getOrders(@HeaderParam("Authorization") String base64UserPwd, @FormParam("market") String market) throws IOException - Throws:
IOException
-