Package org.knowm.xchange.mercadobitcoin
Interface MercadoBitcoinAuthenticated
@Path("tapi")
@Consumes("application/x-www-form-urlencoded")
@Produces("application/json")
public interface MercadoBitcoinAuthenticated
- Author:
- Felipe Micaroni Lalli
- See Also:
MercadoBitcoin
-
Method Summary
Modifier and Type Method Description MercadoBitcoinBaseTradeApiResult<MercadoBitcoinCancelOrderResult>
cancelOrder(String key, si.mazi.rescu.ParamsDigest sign, String method, long tonce, String pair, String id)
MercadoBitcoinBaseTradeApiResult<MercadoBitcoinAccountInfo>
getInfo(String key, si.mazi.rescu.ParamsDigest sign, String method, long tonce)
MercadoBitcoinBaseTradeApiResult<MercadoBitcoinUserOrders>
getOrderList(String key, si.mazi.rescu.ParamsDigest sign, String method, long tonce, String pair, String type, String status, String fromId, String endId, Long since, Long end)
MercadoBitcoinBaseTradeApiResult<MercadoBitcoinPlaceLimitOrderResult>
placeLimitOrder(String key, si.mazi.rescu.ParamsDigest sign, String method, long tonce, String pair, String type, BigDecimal volume, BigDecimal price)
-
Method Details
-
getInfo
@POST @Path("/") MercadoBitcoinBaseTradeApiResult<MercadoBitcoinAccountInfo> getInfo(@HeaderParam("Key") String key, @HeaderParam("Sign") si.mazi.rescu.ParamsDigest sign, @FormParam("method") String method, @FormParam("tonce") long tonce) throws IOException- Throws:
IOException
-
getOrderList
@POST @Path("/") MercadoBitcoinBaseTradeApiResult<MercadoBitcoinUserOrders> getOrderList(@HeaderParam("Key") String key, @HeaderParam("Sign") si.mazi.rescu.ParamsDigest sign, @FormParam("method") String method, @FormParam("tonce") long tonce, @Nonnull @FormParam("pair") String pair, @Nullable @FormParam("type") String type, @FormParam("status") @Nullable String status, @FormParam("fromId") @Nullable String fromId, @FormParam("endId") @Nullable String endId, @FormParam("since") @Nullable Long since, @FormParam("end") @Nullable Long end) throws IOException- Throws:
IOException
-
placeLimitOrder
@POST @Path("/") MercadoBitcoinBaseTradeApiResult<MercadoBitcoinPlaceLimitOrderResult> placeLimitOrder(@HeaderParam("Key") String key, @HeaderParam("Sign") si.mazi.rescu.ParamsDigest sign, @FormParam("method") String method, @FormParam("tonce") long tonce, @Nonnull @FormParam("pair") String pair, @Nonnull @FormParam("type") String type, @Nonnull @FormParam("volume") BigDecimal volume, @Nonnull @FormParam("price") BigDecimal price) throws IOException- Throws:
IOException
-
cancelOrder
@POST @Path("/") MercadoBitcoinBaseTradeApiResult<MercadoBitcoinCancelOrderResult> cancelOrder(@HeaderParam("Key") String key, @HeaderParam("Sign") si.mazi.rescu.ParamsDigest sign, @FormParam("method") String method, @FormParam("tonce") long tonce, @Nonnull @FormParam("pair") String pair, @Nonnull @FormParam("order_id") String id) throws IOException- Throws:
IOException
-