@Path(value="bist")
@Produces(value="application/json")
public interface CoinfloorAuthenticated
| Modifier and Type | Method and Description |
|---|---|
CoinfloorOrder |
buy(Currency base,
Currency counter,
BigDecimal amount,
BigDecimal price) |
CoinfloorMarketOrderResponse |
buyMarket(Currency base,
Currency counter,
BigDecimal quantity) |
boolean |
cancelOrder(Currency base,
Currency counter,
long id) |
CoinfloorBalance |
getBalance(Currency base,
Currency counter) |
CoinfloorOrder[] |
getOpenOrders(Currency base,
Currency counter) |
CoinfloorUserTransaction[] |
getUserTransactions(Currency base,
Currency counter,
Integer numberOfTransactions,
Long offset,
String sort) |
CoinfloorOrder |
sell(Currency base,
Currency counter,
BigDecimal amount,
BigDecimal price) |
CoinfloorMarketOrderResponse |
sellMarket(Currency base,
Currency counter,
BigDecimal quantity) |
@GET
@Path(value="{base}/{counter}/balance/")
CoinfloorBalance getBalance(@PathParam(value="base")
Currency base,
@PathParam(value="counter")
Currency counter)
throws CoinfloorException,
IOException
CoinfloorExceptionIOException@GET
@Path(value="{base}/{counter}/user_transactions/")
CoinfloorUserTransaction[] getUserTransactions(@PathParam(value="base")
Currency base,
@PathParam(value="counter")
Currency counter,
@FormParam(value="limit")
Integer numberOfTransactions,
@FormParam(value="offset")
Long offset,
@FormParam(value="sort")
String sort)
throws CoinfloorException,
IOException
CoinfloorExceptionIOException@GET
@Path(value="{base}/{counter}/open_orders/")
CoinfloorOrder[] getOpenOrders(@PathParam(value="base")
Currency base,
@PathParam(value="counter")
Currency counter)
throws CoinfloorException,
IOException
CoinfloorExceptionIOException@GET
@Path(value="{base}/{counter}/buy/")
CoinfloorOrder buy(@PathParam(value="base")
Currency base,
@PathParam(value="counter")
Currency counter,
@FormParam(value="amount")
BigDecimal amount,
@FormParam(value="price")
BigDecimal price)
throws CoinfloorException,
IOException
CoinfloorExceptionIOException@GET
@Path(value="{base}/{counter}/buy_market/")
CoinfloorMarketOrderResponse buyMarket(@PathParam(value="base")
Currency base,
@PathParam(value="counter")
Currency counter,
@FormParam(value="quantity")
BigDecimal quantity)
throws CoinfloorException,
IOException
CoinfloorExceptionIOException@GET
@Path(value="{base}/{counter}/sell/")
CoinfloorOrder sell(@PathParam(value="base")
Currency base,
@PathParam(value="counter")
Currency counter,
@FormParam(value="amount")
BigDecimal amount,
@FormParam(value="price")
BigDecimal price)
throws CoinfloorException,
IOException
CoinfloorExceptionIOException@GET
@Path(value="{base}/{counter}/sell_market/")
CoinfloorMarketOrderResponse sellMarket(@PathParam(value="base")
Currency base,
@PathParam(value="counter")
Currency counter,
@FormParam(value="quantity")
BigDecimal quantity)
throws CoinfloorException,
IOException
CoinfloorExceptionIOException@GET
@Path(value="{base}/{counter}/cancel_order/")
boolean cancelOrder(@PathParam(value="base")
Currency base,
@PathParam(value="counter")
Currency counter,
@FormParam(value="id")
long id)
throws CoinfloorException,
IOException
CoinfloorExceptionIOExceptionCopyright © 2012–2018 Knowm Inc.. All rights reserved.