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, handleHttpError
getExchangeSymbols, verifyOrder, verifyOrder, verifyOrder
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExchangeSymbols
protected ANXTradeServiceRaw(Exchange exchange)
exchange
- public ANXOpenOrder[] getANXOpenOrders(String baseCurrency, String counterCurrency) throws IOException
IOException
public ANXOpenOrder[] getANXOpenOrders() throws IOException
IOException
public ANXGenericResponse placeANXMarketOrder(MarketOrder marketOrder) throws IOException
IOException
public ANXGenericResponse placeANXLimitOrder(CurrencyPair currencyPair, String type, BigDecimal amount, BigDecimal price) throws IOException
IOException
public ANXGenericResponse cancelANXOrder(String orderId, String baseCurrency, String counterCurrency) throws IOException
IOException
public ANXTradeResultWrapper getExecutedANXTrades(Long from, Long to) throws IOException
IOException
public ANXOrderResultWrapper getANXOrderResult(String orderId, String type, String baseCurrency, String counterCurrency) throws IOException
IOException
Copyright © 2012–2017 Xeiam, LLC. All rights reserved.