public class PeatioTradeService extends PeatioTradeServiceRaw implements com.xeiam.xchange.service.polling.trade.PollingTradeService
Modifier and Type | Class and Description |
---|---|
static class |
PeatioTradeService.PeatioTradeHistoryParams |
accessKey, signature, tonce
peatio
Constructor and Description |
---|
PeatioTradeService(com.xeiam.xchange.Exchange exchange) |
Modifier and Type | Method and Description |
---|---|
boolean |
cancelOrder(String orderId) |
com.xeiam.xchange.service.polling.trade.params.TradeHistoryParams |
createTradeHistoryParams() |
com.xeiam.xchange.dto.trade.OpenOrders |
getOpenOrders() |
com.xeiam.xchange.dto.trade.UserTrades |
getTradeHistory(Object... arguments) |
com.xeiam.xchange.dto.trade.UserTrades |
getTradeHistory(com.xeiam.xchange.service.polling.trade.params.TradeHistoryParams params) |
String |
placeLimitOrder(com.xeiam.xchange.dto.trade.LimitOrder limitOrder) |
String |
placeMarketOrder(com.xeiam.xchange.dto.trade.MarketOrder marketOrder) |
clearOrders, deleteOrder, getMyTrades, getOrder, getOrders, placeOrder
getExchangeSymbols, getMarkets
public PeatioTradeService(com.xeiam.xchange.Exchange exchange)
public com.xeiam.xchange.dto.trade.OpenOrders getOpenOrders() throws PeatioException, IOException
getOpenOrders
in interface com.xeiam.xchange.service.polling.trade.PollingTradeService
PeatioException
IOException
public String placeMarketOrder(com.xeiam.xchange.dto.trade.MarketOrder marketOrder) throws PeatioException, IOException
placeMarketOrder
in interface com.xeiam.xchange.service.polling.trade.PollingTradeService
PeatioException
IOException
public String placeLimitOrder(com.xeiam.xchange.dto.trade.LimitOrder limitOrder) throws PeatioException, IOException
placeLimitOrder
in interface com.xeiam.xchange.service.polling.trade.PollingTradeService
PeatioException
IOException
public boolean cancelOrder(String orderId) throws PeatioException, IOException
cancelOrder
in interface com.xeiam.xchange.service.polling.trade.PollingTradeService
PeatioException
IOException
public com.xeiam.xchange.dto.trade.UserTrades getTradeHistory(Object... arguments) throws PeatioException, IOException
getTradeHistory
in interface com.xeiam.xchange.service.polling.trade.PollingTradeService
PeatioException
IOException
public com.xeiam.xchange.dto.trade.UserTrades getTradeHistory(com.xeiam.xchange.service.polling.trade.params.TradeHistoryParams params) throws PeatioException, IOException
getTradeHistory
in interface com.xeiam.xchange.service.polling.trade.PollingTradeService
PeatioException
IOException
public com.xeiam.xchange.service.polling.trade.params.TradeHistoryParams createTradeHistoryParams()
createTradeHistoryParams
in interface com.xeiam.xchange.service.polling.trade.PollingTradeService
Copyright © 2015. All rights reserved.