public class CHBTCTradeService extends CHBTCTradeServiceRaw implements com.xeiam.xchange.service.polling.trade.PollingTradeService
client
Constructor and Description |
---|
CHBTCTradeService(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)
Returns trades of one order or all trades of the user's account.
|
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) |
cancelOrder, getOrder, getOrders, getOrdersIgnoreTradeType, getOrdersNew, getUnfinishedOrdersIgnoreTradeType, order
finalize
getExchangeSymbols
public com.xeiam.xchange.dto.trade.OpenOrders getOpenOrders() throws com.xeiam.xchange.exceptions.ExchangeException, com.xeiam.xchange.exceptions.NotAvailableFromExchangeException, com.xeiam.xchange.exceptions.NotYetImplementedForExchangeException, IOException
getOpenOrders
in interface com.xeiam.xchange.service.polling.trade.PollingTradeService
com.xeiam.xchange.exceptions.ExchangeException
com.xeiam.xchange.exceptions.NotAvailableFromExchangeException
com.xeiam.xchange.exceptions.NotYetImplementedForExchangeException
IOException
public String placeMarketOrder(com.xeiam.xchange.dto.trade.MarketOrder marketOrder) throws com.xeiam.xchange.exceptions.ExchangeException, com.xeiam.xchange.exceptions.NotAvailableFromExchangeException, com.xeiam.xchange.exceptions.NotYetImplementedForExchangeException, IOException
placeMarketOrder
in interface com.xeiam.xchange.service.polling.trade.PollingTradeService
com.xeiam.xchange.exceptions.ExchangeException
com.xeiam.xchange.exceptions.NotAvailableFromExchangeException
com.xeiam.xchange.exceptions.NotYetImplementedForExchangeException
IOException
public String placeLimitOrder(com.xeiam.xchange.dto.trade.LimitOrder limitOrder) throws com.xeiam.xchange.exceptions.ExchangeException, com.xeiam.xchange.exceptions.NotAvailableFromExchangeException, com.xeiam.xchange.exceptions.NotYetImplementedForExchangeException, IOException
placeLimitOrder
in interface com.xeiam.xchange.service.polling.trade.PollingTradeService
com.xeiam.xchange.exceptions.ExchangeException
com.xeiam.xchange.exceptions.NotAvailableFromExchangeException
com.xeiam.xchange.exceptions.NotYetImplementedForExchangeException
IOException
public boolean cancelOrder(String orderId) throws com.xeiam.xchange.exceptions.ExchangeException, com.xeiam.xchange.exceptions.NotAvailableFromExchangeException, com.xeiam.xchange.exceptions.NotYetImplementedForExchangeException, IOException
cancelOrder
in interface com.xeiam.xchange.service.polling.trade.PollingTradeService
com.xeiam.xchange.exceptions.ExchangeException
com.xeiam.xchange.exceptions.NotAvailableFromExchangeException
com.xeiam.xchange.exceptions.NotYetImplementedForExchangeException
IOException
public com.xeiam.xchange.dto.trade.UserTrades getTradeHistory(Object... arguments) throws com.xeiam.xchange.exceptions.ExchangeException, com.xeiam.xchange.exceptions.NotAvailableFromExchangeException, com.xeiam.xchange.exceptions.NotYetImplementedForExchangeException, IOException
getTradeHistory
in interface com.xeiam.xchange.service.polling.trade.PollingTradeService
arguments
- CurrencyPair
, required, to specified the market.com.xeiam.xchange.exceptions.ExchangeException
com.xeiam.xchange.exceptions.NotAvailableFromExchangeException
com.xeiam.xchange.exceptions.NotYetImplementedForExchangeException
IOException
public com.xeiam.xchange.dto.trade.UserTrades getTradeHistory(com.xeiam.xchange.service.polling.trade.params.TradeHistoryParams params) throws com.xeiam.xchange.exceptions.ExchangeException, com.xeiam.xchange.exceptions.NotAvailableFromExchangeException, com.xeiam.xchange.exceptions.NotYetImplementedForExchangeException, IOException
getTradeHistory
in interface com.xeiam.xchange.service.polling.trade.PollingTradeService
com.xeiam.xchange.exceptions.ExchangeException
com.xeiam.xchange.exceptions.NotAvailableFromExchangeException
com.xeiam.xchange.exceptions.NotYetImplementedForExchangeException
IOException
public com.xeiam.xchange.service.polling.trade.params.TradeHistoryParams createTradeHistoryParams()
createTradeHistoryParams
in interface com.xeiam.xchange.service.polling.trade.PollingTradeService
Copyright © 2013–2015. All rights reserved.