Package org.knowm.xchange.tradeogre
Interface TradeOgreAuthenticated
- All Superinterfaces:
TradeOgre
@Path("") public interface TradeOgreAuthenticated extends TradeOgre
-
Method Summary
Modifier and Type Method Description TradeOgreTradeResponse
buy(String base64UserPwd, String market, String quantity, String price)
TradeOgreTradeResponse
cancel(String base64UserPwd, String uuid)
TradeOgreBalance
getBalance(String base64UserPwd, String currency)
TradeOgreBalances
getBalances(String base64UserPwd)
Collection<TradeOgreOrder>
getOrders(String base64UserPwd, String market)
TradeOgreTradeResponse
sell(String base64UserPwd, String market, String quantity, String price)
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
-