public class PoloniexTradeServiceRaw extends PoloniexBasePollingService
apiKey, poloniex, poloniexAuthenticated, signatureCreatorexchange| Constructor and Description |
|---|
PoloniexTradeServiceRaw(Exchange exchange)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
PoloniexTradeResponse |
buy(LimitOrder limitOrder) |
boolean |
cancel(String orderId) |
boolean |
cancel(String orderId,
CurrencyPair currencyPair) |
HashMap<String,PoloniexOpenOrder[]> |
returnOpenOrders() |
PoloniexUserTrade[] |
returnTradeHistory(CurrencyPair currencyPair,
Long startTime,
Long endTime) |
HashMap<String,PoloniexUserTrade[]> |
returnTradeHistory(Long startTime,
Long endTime) |
PoloniexTradeResponse |
sell(LimitOrder limitOrder) |
getExchangeSymbolsverifyOrder, verifyOrder, verifyOrderpublic PoloniexTradeServiceRaw(Exchange exchange)
exchange - public HashMap<String,PoloniexOpenOrder[]> returnOpenOrders() throws IOException
IOExceptionpublic PoloniexUserTrade[] returnTradeHistory(CurrencyPair currencyPair, Long startTime, Long endTime) throws IOException
IOExceptionpublic HashMap<String,PoloniexUserTrade[]> returnTradeHistory(Long startTime, Long endTime) throws IOException
IOExceptionpublic PoloniexTradeResponse buy(LimitOrder limitOrder) throws IOException
IOExceptionpublic PoloniexTradeResponse sell(LimitOrder limitOrder) throws IOException
IOExceptionpublic boolean cancel(String orderId) throws IOException
IOExceptionpublic boolean cancel(String orderId, CurrencyPair currencyPair) throws IOException
IOExceptionCopyright © 2012–2017 Xeiam, LLC. All rights reserved.