Package org.knowm.xchange.coinfloor
Interface CoinfloorAuthenticated
@Path("bist")
@Produces("application/json")
public interface CoinfloorAuthenticated
-
Method Summary
Modifier and TypeMethodDescriptionbuy(Currency base, Currency counter, BigDecimal amount, BigDecimal price) buyMarket(Currency base, Currency counter, BigDecimal quantity) booleancancelOrder(Currency base, Currency counter, long id) getBalance(Currency base, Currency counter) getOpenOrders(Currency base, Currency counter) getUserTransactions(Currency base, Currency counter, Integer numberOfTransactions, Long offset, String sort) sell(Currency base, Currency counter, BigDecimal amount, BigDecimal price) sellMarket(Currency base, Currency counter, BigDecimal quantity)
-
Method Details
-
getBalance
@GET @Path("{base}/{counter}/balance/") CoinfloorBalance getBalance(@PathParam("base") Currency base, @PathParam("counter") Currency counter) throws CoinfloorException, IOException - Throws:
CoinfloorExceptionIOException
-
getUserTransactions
@GET @Path("{base}/{counter}/user_transactions/") CoinfloorUserTransaction[] getUserTransactions(@PathParam("base") Currency base, @PathParam("counter") Currency counter, @FormParam("limit") Integer numberOfTransactions, @FormParam("offset") Long offset, @FormParam("sort") String sort) throws CoinfloorException, IOException - Throws:
CoinfloorExceptionIOException
-
getOpenOrders
@GET @Path("{base}/{counter}/open_orders/") CoinfloorOrder[] getOpenOrders(@PathParam("base") Currency base, @PathParam("counter") Currency counter) throws CoinfloorException, IOException - Throws:
CoinfloorExceptionIOException
-
buy
@GET @Path("{base}/{counter}/buy/") CoinfloorOrder buy(@PathParam("base") Currency base, @PathParam("counter") Currency counter, @FormParam("amount") BigDecimal amount, @FormParam("price") BigDecimal price) throws CoinfloorException, IOException - Throws:
CoinfloorExceptionIOException
-
buyMarket
@GET @Path("{base}/{counter}/buy_market/") CoinfloorMarketOrderResponse buyMarket(@PathParam("base") Currency base, @PathParam("counter") Currency counter, @FormParam("quantity") BigDecimal quantity) throws CoinfloorException, IOException - Throws:
CoinfloorExceptionIOException
-
sell
@GET @Path("{base}/{counter}/sell/") CoinfloorOrder sell(@PathParam("base") Currency base, @PathParam("counter") Currency counter, @FormParam("amount") BigDecimal amount, @FormParam("price") BigDecimal price) throws CoinfloorException, IOException - Throws:
CoinfloorExceptionIOException
-
sellMarket
@GET @Path("{base}/{counter}/sell_market/") CoinfloorMarketOrderResponse sellMarket(@PathParam("base") Currency base, @PathParam("counter") Currency counter, @FormParam("quantity") BigDecimal quantity) throws CoinfloorException, IOException - Throws:
CoinfloorExceptionIOException
-
cancelOrder
@GET @Path("{base}/{counter}/cancel_order/") boolean cancelOrder(@PathParam("base") Currency base, @PathParam("counter") Currency counter, @FormParam("id") long id) throws CoinfloorException, IOException - Throws:
CoinfloorExceptionIOException
-