Class CoinmateTradeServiceRaw
java.lang.Object
org.knowm.xchange.service.BaseExchangeService
org.knowm.xchange.coinmate.service.CoinmateBaseService
org.knowm.xchange.coinmate.service.CoinmateTradeServiceRaw
- All Implemented Interfaces:
BaseService
- Direct Known Subclasses:
CoinmateTradeService
- Author:
- Martin Stachon
-
Field Summary
Fields inherited from class org.knowm.xchange.service.BaseExchangeService
exchange
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuyCoinmateInstant
(BigDecimal total, String currencyPair, String clientOrderId) buyCoinmateLimit
(BigDecimal amount, BigDecimal price, String currencyPair, BigDecimal stopPrice, Integer hidden, Integer postOnly, Integer immediateOrCancel, Integer trailing, String clientOrderId) buyCoinmateQuick
(BigDecimal total, String currencyPair, String clientOrderId) buyCoinmateQuickFix
(String rateId, String clientOrderId) cancelCoinmateOrder
(String orderId) cancelCoinmateOrderWithInfo
(String orderId) coinmateBuyQuickFixRate
(BigDecimal total, BigDecimal amountReceived, String currencyPair) coinmateReplaceByBuyInstant
(String orderId, BigDecimal total, String currencyPair, String clientOrderId) coinmateReplaceByBuyLimit
(String orderId, BigDecimal amount, BigDecimal price, String currencyPair, BigDecimal stopPrice, Integer hidden, Integer postOnly, Integer immediateOrCancel, Integer trailing, String clientOrderId) coinmateReplaceBySellInstant
(String orderId, BigDecimal total, String currencyPair, String clientOrderId) coinmateReplaceBySellLimit
(String orderId, BigDecimal amount, BigDecimal price, String currencyPair, BigDecimal stopPrice, Integer hidden, Integer postOnly, Integer immediateOrCancel, Integer trailing, String clientOrderId) coinmateSellQuickFixRate
(BigDecimal amount, BigDecimal totalReceived, String currencyPair) getCoinmateOpenOrders
(String currencyPair) getCoinmateOrderByClientOrderId
(String clientOrderId) getCoinmateOrderById
(String orderId) getCoinmateOrderHistory
(String currencyPair, Integer limit) getCoinmateTradeHistory
(String currencyPair, int limit, String order, String startId, Long timestampFrom, Long timestampTo, String orderId) getCoinmateTransactionHistory
(int offset, Integer limit, String sort, Long timestampFrom, Long timestampTo, String orderId) sellCoinmateInstant
(BigDecimal total, String currencyPair, String clientOrderId) sellCoinmateLimit
(BigDecimal amount, BigDecimal price, String currencyPair, BigDecimal stopPrice, Integer hidden, Integer postOnly, Integer immediateOrCancel, Integer trailing, String clientOrderId) sellCoinmateQuick
(BigDecimal amount, String currencyPair, String clientOrderId) sellCoinmateQuickFix
(String rateId, String clientOrderId) Methods inherited from class org.knowm.xchange.coinmate.service.CoinmateBaseService
throwExceptionIfError
Methods inherited from class org.knowm.xchange.service.BaseExchangeService
verifyOrder, verifyOrder, verifyOrder
-
Constructor Details
-
CoinmateTradeServiceRaw
-
-
Method Details
-
getCoinmateTransactionHistory
public CoinmateTransactionHistory getCoinmateTransactionHistory(int offset, Integer limit, String sort, Long timestampFrom, Long timestampTo, String orderId) throws IOException - Throws:
IOException
-
getCoinmateTradeHistory
public CoinmateTradeHistory getCoinmateTradeHistory(String currencyPair, int limit, String order, String startId, Long timestampFrom, Long timestampTo, String orderId) throws IOException - Throws:
IOException
-
getCoinmateTransferHistory
- Throws:
IOException
-
getCoinmateOrderHistory
public CoinmateOrderHistory getCoinmateOrderHistory(String currencyPair, Integer limit) throws IOException - Throws:
IOException
-
getCoinmateOpenOrders
- Throws:
IOException
-
cancelCoinmateOrder
- Throws:
IOException
-
getCoinmateOrderById
- Throws:
IOException
-
getCoinmateOrderByClientOrderId
- Throws:
IOException
-
cancelCoinmateOrderWithInfo
public CoinmateCancelOrderWithInfoResponse cancelCoinmateOrderWithInfo(String orderId) throws IOException - Throws:
IOException
-
buyCoinmateLimit
public CoinmateTradeResponse buyCoinmateLimit(BigDecimal amount, BigDecimal price, String currencyPair, BigDecimal stopPrice, Integer hidden, Integer postOnly, Integer immediateOrCancel, Integer trailing, String clientOrderId) throws IOException - Throws:
IOException
-
sellCoinmateLimit
public CoinmateTradeResponse sellCoinmateLimit(BigDecimal amount, BigDecimal price, String currencyPair, BigDecimal stopPrice, Integer hidden, Integer postOnly, Integer immediateOrCancel, Integer trailing, String clientOrderId) throws IOException - Throws:
IOException
-
coinmateReplaceByBuyLimit
public CoinmateReplaceResponse coinmateReplaceByBuyLimit(String orderId, BigDecimal amount, BigDecimal price, String currencyPair, BigDecimal stopPrice, Integer hidden, Integer postOnly, Integer immediateOrCancel, Integer trailing, String clientOrderId) throws IOException - Throws:
IOException
-
coinmateReplaceBySellLimit
public CoinmateReplaceResponse coinmateReplaceBySellLimit(String orderId, BigDecimal amount, BigDecimal price, String currencyPair, BigDecimal stopPrice, Integer hidden, Integer postOnly, Integer immediateOrCancel, Integer trailing, String clientOrderId) throws IOException - Throws:
IOException
-
buyCoinmateInstant
public CoinmateTradeResponse buyCoinmateInstant(BigDecimal total, String currencyPair, String clientOrderId) throws IOException - Throws:
IOException
-
sellCoinmateInstant
public CoinmateTradeResponse sellCoinmateInstant(BigDecimal total, String currencyPair, String clientOrderId) throws IOException - Throws:
IOException
-
buyCoinmateQuick
public CoinmateTradeResponse buyCoinmateQuick(BigDecimal total, String currencyPair, String clientOrderId) throws IOException - Throws:
IOException
-
sellCoinmateQuick
public CoinmateTradeResponse sellCoinmateQuick(BigDecimal amount, String currencyPair, String clientOrderId) throws IOException - Throws:
IOException
-
coinmateBuyQuickFixRate
public CoinmateBuyFixRateResponse coinmateBuyQuickFixRate(BigDecimal total, BigDecimal amountReceived, String currencyPair) throws IOException - Throws:
IOException
-
coinmateSellQuickFixRate
public CoinmateSellFixRateResponse coinmateSellQuickFixRate(BigDecimal amount, BigDecimal totalReceived, String currencyPair) throws IOException - Throws:
IOException
-
buyCoinmateQuickFix
public CoinmateTradeResponse buyCoinmateQuickFix(String rateId, String clientOrderId) throws IOException - Throws:
IOException
-
sellCoinmateQuickFix
public CoinmateTradeResponse sellCoinmateQuickFix(String rateId, String clientOrderId) throws IOException - Throws:
IOException
-
coinmateReplaceByBuyInstant
public CoinmateReplaceResponse coinmateReplaceByBuyInstant(String orderId, BigDecimal total, String currencyPair, String clientOrderId) throws IOException - Throws:
IOException
-
coinmateReplaceBySellInstant
public CoinmateReplaceResponse coinmateReplaceBySellInstant(String orderId, BigDecimal total, String currencyPair, String clientOrderId) throws IOException - Throws:
IOException
-