Package org.knowm.xchange.quoine.service
Class QuoineTradeServiceRaw
java.lang.Object
org.knowm.xchange.service.BaseExchangeService
org.knowm.xchange.quoine.service.QuoineBaseService
org.knowm.xchange.quoine.service.QuoineTradeServiceRaw
- All Implemented Interfaces:
BaseService
- Direct Known Subclasses:
QuoineTradeService
public class QuoineTradeServiceRaw extends QuoineBaseService
- Author:
- gnandiga
-
Field Summary
Fields inherited from class org.knowm.xchange.quoine.service.QuoineBaseService
contentType, quoine, QUOINE_API_VERSION, secret, signatureCreator, tokenID
Fields inherited from class org.knowm.xchange.service.BaseExchangeService
exchange
-
Constructor Summary
Constructors Constructor Description QuoineTradeServiceRaw(Exchange exchange, boolean useMargin)
-
Method Summary
Modifier and Type Method Description QuoineOrderResponse
cancelQuoineOrder(String orderID)
List<QuoineExecution>
executions(CurrencyPair currencyPair, Integer limit, Integer page)
QuoineOrderDetailsResponse
getQuoineOrderDetails(String orderID)
QuoineOrdersList
listQuoineOrders()
QuoineOrderResponse
placeLimitOrder(CurrencyPair currencyPair, String type, BigDecimal originalAmount, BigDecimal price)
QuoineOrderResponse
placeMarketOrder(CurrencyPair currencyPair, String type, BigDecimal originalAmount)
List<QuoineTrade>
trades(Currency fundingCurrency, Integer limit, Integer page)
List<QuoineTransaction>
transactions(Currency currency, Integer limit, Integer page)
Methods inherited from class org.knowm.xchange.quoine.service.QuoineBaseService
handleHttpError, productId
Methods inherited from class org.knowm.xchange.service.BaseExchangeService
verifyOrder, verifyOrder, verifyOrder
-
Constructor Details
-
QuoineTradeServiceRaw
- Parameters:
exchange
-
-
-
Method Details
-
placeLimitOrder
public QuoineOrderResponse placeLimitOrder(CurrencyPair currencyPair, String type, BigDecimal originalAmount, BigDecimal price) throws IOException- Throws:
IOException
-
placeMarketOrder
public QuoineOrderResponse placeMarketOrder(CurrencyPair currencyPair, String type, BigDecimal originalAmount) throws IOException- Throws:
IOException
-
cancelQuoineOrder
- Throws:
IOException
-
getQuoineOrderDetails
- Throws:
IOException
-
listQuoineOrders
- Throws:
IOException
-
executions
public List<QuoineExecution> executions(CurrencyPair currencyPair, Integer limit, Integer page) throws IOException- Throws:
IOException
-
trades
public List<QuoineTrade> trades(Currency fundingCurrency, Integer limit, Integer page) throws IOException- Throws:
IOException
-
transactions
public List<QuoineTransaction> transactions(Currency currency, Integer limit, Integer page) throws IOException- Throws:
IOException
-