-
对于“huobi_swap” demo 的文件“main.py ”中除了初始化quant.initialize(config_file) initialize()外,就是quant.start();
跳转到quant.py, start()方法最核心的功能语句是 self.loop.run_forever() ;而run_forever() 是python实现的函数,不是我们自己写的函数,那我…
-
我想修改huobi_swap demo运行时的打印内容,请问应该修改哪个文件夹中哪个文件的哪个函数?非常感谢
-
Hi!
I would love to have typescript support for this library :-)
gr,
Tom
-
@cd2357 can you please look at this critical issue ASAP?
```
__ _ _ __
/ /_ (_)________ _ ____ _____(_)_______ ____ ____ …
-
E [2020-08-07 07:08:54,277] Task exception was never retrieved
future:
Traceback (most recent call last):
File "/code/examples/huobi_future/strategy.py", line 118, in on_ticker
await self.c…
-
In huobi_option_mm, **delta_hedging create_orders through swap_trader for delta neutrality**.
For example, **call option exercise price 10500 at expiration date 0911 (BTC0911C10500-Weekly)**
is to…
igkoh updated
4 years ago
-
self.long_quantity = long_quantity # 多仓数量
self.long_avg_price = long_avg_price # 多仓持仓平均价格
self.long_pnl_ratio = long_pnl_ratio # 多仓收益率
self.long_pnl_unreal = long_…
-
async def on_ticker(self, *args, **kwargs):
""" 定时执行任务
"""
ts_diff = int(time.time()*1000) - self.last_orderbook_timestamp
if ts_diff > self.orderbook_invalid_s…
-
- OS: Linux 5.4.28-gentoo x86_64
- Programming Language version: typescript 3.8.3
- CCXT version: 1.36.95
- Exchange: Binance, Huobi Pro, Hitbtc, Binance
I know this issue has been already addr…
-
- OS: windows 10
- Programming Language version: python 3.7
- CCXTPRO version: I have no idea where to see the version of my installed ccxtpro
The problem is as I mentioned in the title, after I …