public class HuobiTradeService extends HuobiTradeServiceRaw implements com.xeiam.xchange.service.polling.trade.PollingTradeService
accessKey, digest, huobi
Constructor and Description |
---|
HuobiTradeService(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) |
cancelHUOBIOrder, getHUOBIOrder, getHUOBIOrders, modifyHUOBIOrder, placeHUOBILimitOrder, placeHUOBIMarketOrder
nextCreated
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 IOException
cancelOrder
in interface com.xeiam.xchange.service.polling.trade.PollingTradeService
IOException
public com.xeiam.xchange.dto.trade.UserTrades getTradeHistory(Object... arguments)
getTradeHistory
in interface com.xeiam.xchange.service.polling.trade.PollingTradeService
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 © 2014–2015. All rights reserved.