public class PoloniexTradeServiceRaw extends PoloniexBasePollingService
apiKey, poloniex, poloniexAuthenticated, signatureCreator
exchange
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) |
getExchangeSymbols
verifyOrder, verifyOrder, verifyOrder
public PoloniexTradeServiceRaw(Exchange exchange)
exchange
- public HashMap<String,PoloniexOpenOrder[]> returnOpenOrders() throws IOException
IOException
public PoloniexUserTrade[] returnTradeHistory(CurrencyPair currencyPair, Long startTime, Long endTime) throws IOException
IOException
public HashMap<String,PoloniexUserTrade[]> returnTradeHistory(Long startTime, Long endTime) throws IOException
IOException
public PoloniexTradeResponse buy(LimitOrder limitOrder) throws IOException
IOException
public PoloniexTradeResponse sell(LimitOrder limitOrder) throws IOException
IOException
public boolean cancel(String orderId) throws IOException
IOException
public boolean cancel(String orderId, CurrencyPair currencyPair) throws IOException
IOException
Copyright © 2012–2018 Xeiam, LLC. All rights reserved.