Package org.knowm.xchange.huobi.service
Class HuobiTradeServiceRaw
java.lang.Object
org.knowm.xchange.service.BaseExchangeService
org.knowm.xchange.huobi.service.HuobiBaseService
org.knowm.xchange.huobi.service.HuobiTradeServiceRaw
- All Implemented Interfaces:
BaseService
- Direct Known Subclasses:
HuobiTradeService
public class HuobiTradeServiceRaw extends HuobiBaseService
-
Field Summary
Fields inherited from class org.knowm.xchange.huobi.service.HuobiBaseService
huobi, signatureCreator
Fields inherited from class org.knowm.xchange.service.BaseExchangeService
exchange
-
Method Summary
Modifier and Type Method Description String
cancelHuobiOrder(String orderId)
HuobiMatchResult[]
getHuobiMatchResults(CurrencyPairParam params, String types, Date startDate, Date endDate, String from, String direct, Integer size)
HuobiOrder[]
getHuobiOpenOrders(CurrencyPairParam params)
List<HuobiOrder>
getHuobiOrder(String... orderIds)
HuobiOrder[]
getHuobiOrderHistory(CurrencyPairParam params, Date startTime, Date endTime, String direct, Integer size)
HuobiOrder[]
getHuobiTradeHistory(CurrencyPair currencyPair, Date startDate, Date endDate, String startId)
String
placeHuobiLimitOrder(LimitOrder limitOrder)
String
placeHuobiMarketOrder(MarketOrder order)
Methods inherited from class org.knowm.xchange.huobi.service.HuobiBaseService
checkResult, checkResult, getHuobiAssets
Methods inherited from class org.knowm.xchange.service.BaseExchangeService
verifyOrder, verifyOrder, verifyOrder
-
Method Details
-
getHuobiTradeHistory
public HuobiOrder[] getHuobiTradeHistory(CurrencyPair currencyPair, Date startDate, Date endDate, String startId) throws IOException- Throws:
IOException
-
getHuobiOrderHistory
public HuobiOrder[] getHuobiOrderHistory(CurrencyPairParam params, Date startTime, Date endTime, String direct, Integer size) throws IOException- Throws:
IOException
-
getHuobiOpenOrders
- Throws:
IOException
-
getHuobiMatchResults
public HuobiMatchResult[] getHuobiMatchResults(CurrencyPairParam params, String types, Date startDate, Date endDate, String from, String direct, Integer size) throws IOException- Throws:
IOException
-
cancelHuobiOrder
- Throws:
IOException
-
placeHuobiLimitOrder
- Throws:
IOException
-
placeHuobiMarketOrder
- Throws:
IOException
-
getHuobiOrder
- Throws:
IOException
-