Class MercadoBitcoinTradeServiceRaw
java.lang.Object
org.knowm.xchange.service.BaseExchangeService
org.knowm.xchange.mercadobitcoin.service.MercadoBitcoinBaseService
org.knowm.xchange.mercadobitcoin.service.MercadoBitcoinTradeServiceRaw
- All Implemented Interfaces:
BaseService
- Direct Known Subclasses:
MercadoBitcoinTradeService
- Author:
- Felipe Micaroni Lalli
-
Field Summary
Fields inherited from class org.knowm.xchange.service.BaseExchangeService
exchange
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMercadoBitcoinUserOrders
(String pair, String type, String status, String fromId, String endId, Long since, Long end) mercadoBitcoinCancelOrder
(String pair, String orderId) mercadoBitcoinPlaceLimitOrder
(String pair, String type, BigDecimal volume, BigDecimal price) Methods inherited from class org.knowm.xchange.service.BaseExchangeService
verifyOrder, verifyOrder, verifyOrder
-
Constructor Details
-
MercadoBitcoinTradeServiceRaw
Constructor- Parameters:
exchange
-
-
-
Method Details
-
getMercadoBitcoinUserOrders
public MercadoBitcoinBaseTradeApiResult<MercadoBitcoinUserOrders> getMercadoBitcoinUserOrders(@Nonnull String pair, @Nullable String type, @Nullable String status, @Nullable String fromId, @Nullable String endId, @Nullable Long since, @Nullable Long end) throws IOException - Throws:
IOException
-
mercadoBitcoinPlaceLimitOrder
public MercadoBitcoinBaseTradeApiResult<MercadoBitcoinPlaceLimitOrderResult> mercadoBitcoinPlaceLimitOrder(@Nonnull String pair, @Nonnull String type, @Nonnull BigDecimal volume, @Nonnull BigDecimal price) throws IOException - Throws:
IOException
-
mercadoBitcoinCancelOrder
public MercadoBitcoinBaseTradeApiResult<MercadoBitcoinCancelOrderResult> mercadoBitcoinCancelOrder(@Nonnull String pair, @Nonnull String orderId) throws IOException - Parameters:
pair
- btc_brl or ltc_brlorderId
- the order ID- Returns:
- See
MercadoBitcoinCancelOrderResult
. - Throws:
IOException
-