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) |
nextCreated
getExchangeSymbols
protected HuobiTradeServiceRaw(com.xeiam.xchange.Exchange exchange)
public Order[] getHUOBIOrders(int coinType) throws IOException
IOException
public Order getHUOBIOrder(int coinType, long id) throws IOException
IOException
public PlaceOrderResult placeHUOBILimitOrder(com.xeiam.xchange.dto.Order.OrderType type, int coinType, BigDecimal price, BigDecimal amount) throws IOException
IOException
public PlaceOrderResult placeHUOBIMarketOrder(com.xeiam.xchange.dto.Order.OrderType type, int coinType, BigDecimal amount) throws IOException
IOException
public CancelOrderResult cancelHUOBIOrder(int coinType, long id) throws IOException
IOException
public PlaceOrderResult modifyHUOBIOrder(int coinType, long id, BigDecimal price, BigDecimal amount) throws IOException
IOException
Copyright © 2014–2015. All rights reserved.