hbdmapi / huobi_futures_Python

An Asynchronous Event-driven High-frequency Trading System,huobi future,huobi coin margined swap, huobi usdt margined swap included.
MIT License
267 stars 113 forks source link

怎么开单以及查看现在挂单情况 #69

Closed ZhuangLii closed 3 years ago

ZhuangLii commented 3 years ago

如题,第一次用,希望指教一下

Iohannes-long commented 3 years ago

可以参考: https://github.com/hbdmapi/huobi_futures_Python/blob/a505cfef0591d4adc610b7ef11bd06cb2d2ae2a5/examples/huobi_future/strategy.py#L129 async def place_orders(self):

最终调用: https://github.com/hbdmapi/huobi_futures_Python/blob/a505cfef0591d4adc610b7ef11bd06cb2d2ae2a5/alpha/platforms/huobi_future_api.py#L247 def get_orderbook(self, symbol):

ZhuangLii commented 3 years ago

谢谢