public class ANXTradeServiceRaw extends ANXBasePollingService
exchange| Modifier | Constructor and Description |
|---|---|
protected |
ANXTradeServiceRaw(Exchange exchange)
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, handleHttpErrorgetExchangeSymbols, verifyOrder, verifyOrder, verifyOrderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExchangeSymbolsprotected ANXTradeServiceRaw(Exchange exchange)
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–2017 Xeiam, LLC. All rights reserved.