public class ANXTradeServiceRaw extends ANXBaseService
exchange| Modifier | Constructor and Description |
|---|---|
protected |
ANXTradeServiceRaw(Exchange exchange,
si.mazi.rescu.IRestProxyFactory restProxyFactory)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
ANXGenericResponse |
cancelANXOrder(String orderId,
String baseCurrency,
String counterCurrency) |
ANXOpenOrder[] |
getANXOpenOrders() |
ANXOpenOrder[] |
getANXOpenOrders(String baseCurrency,
String counterCurrency) |
ANXOrderResultWrapper |
getANXOrderResult(String orderId,
String type,
String baseCurrency,
String counterCurrency) |
ANXTradeResultWrapper |
getExecutedANXTrades(Long from,
Long to) |
ANXGenericResponse |
placeANXLimitOrder(CurrencyPair currencyPair,
String type,
BigDecimal amount,
BigDecimal price) |
ANXGenericResponse |
placeANXMarketOrder(MarketOrder marketOrder) |
handleError, handleHttpErrorgetClientConfig, verifyOrder, verifyOrder, verifyOrderprotected ANXTradeServiceRaw(Exchange exchange, si.mazi.rescu.IRestProxyFactory restProxyFactory)
exchange - public ANXOpenOrder[] getANXOpenOrders(String baseCurrency, String counterCurrency) throws IOException
IOExceptionpublic ANXOpenOrder[] getANXOpenOrders() throws IOException
IOExceptionpublic ANXGenericResponse placeANXMarketOrder(MarketOrder marketOrder) throws IOException
IOExceptionpublic ANXGenericResponse placeANXLimitOrder(CurrencyPair currencyPair, String type, BigDecimal amount, BigDecimal price) throws IOException
IOExceptionpublic ANXGenericResponse cancelANXOrder(String orderId, String baseCurrency, String counterCurrency) throws IOException
IOExceptionpublic ANXTradeResultWrapper getExecutedANXTrades(Long from, Long to) throws IOException
IOExceptionpublic ANXOrderResultWrapper getANXOrderResult(String orderId, String type, String baseCurrency, String counterCurrency) throws IOException
IOExceptionCopyright © 2012–2019 Knowm Inc.. All rights reserved.