public class HuobiTradeServiceRaw extends HuobiBaseTradeService
accessKey, digest, huobi| Modifier | Constructor and Description |
|---|---|
protected |
HuobiTradeServiceRaw(com.xeiam.xchange.Exchange exchange) |
| Modifier and Type | Method and Description |
|---|---|
CancelOrderResult |
cancelHUOBIOrder(int coinType,
long id) |
Order |
getHUOBIOrder(int coinType,
long id) |
Order[] |
getHUOBIOrders(int coinType) |
PlaceOrderResult |
modifyHUOBIOrder(int coinType,
long id,
BigDecimal price,
BigDecimal amount) |
PlaceOrderResult |
placeHUOBILimitOrder(com.xeiam.xchange.dto.Order.OrderType type,
int coinType,
BigDecimal price,
BigDecimal amount) |
PlaceOrderResult |
placeHUOBIMarketOrder(com.xeiam.xchange.dto.Order.OrderType type,
int coinType,
BigDecimal amount) |
nextCreatedgetExchangeSymbolsprotected HuobiTradeServiceRaw(com.xeiam.xchange.Exchange exchange)
public Order[] getHUOBIOrders(int coinType) throws IOException
IOExceptionpublic Order getHUOBIOrder(int coinType, long id) throws IOException
IOExceptionpublic PlaceOrderResult placeHUOBILimitOrder(com.xeiam.xchange.dto.Order.OrderType type, int coinType, BigDecimal price, BigDecimal amount) throws IOException
IOExceptionpublic PlaceOrderResult placeHUOBIMarketOrder(com.xeiam.xchange.dto.Order.OrderType type, int coinType, BigDecimal amount) throws IOException
IOExceptionpublic CancelOrderResult cancelHUOBIOrder(int coinType, long id) throws IOException
IOExceptionpublic PlaceOrderResult modifyHUOBIOrder(int coinType, long id, BigDecimal price, BigDecimal amount) throws IOException
IOExceptionCopyright © 2014–2015. All rights reserved.