@sino_samsara 我在jq试了下
fill_paused=fill_paused)
2022-01-04 10:00:00 - INFO - weights
2022-01-04 10:00:00 - INFO - [0.48535254935720984 0.4411080911644321 0.07353935947835798 0.0]
2022-01-04 10:00:00 - ERROR - 下单失败,初步检查下单数量为0: Order(security=510880.XSHG mode=OrderTargetValue: _value=0.0 style=MarketOrderStyle: _limit_price=0.0 side=long margin=False entrust_time=None)
2022-02-07 10:00:00 - WARNING - /tmp/jqcore/jqdata/jqdata/apis/data.py:165: UserWarning: 不建议继续使用panel(panel将在pandas未来版本不再支持,将来升级pandas后,您的策略会失败),建议 get_price 传入 panel=False 参数
warnings.warn("不建议继续使用panel(panel将在pandas未来版本不再支持,将来升级pandas后,您的策略会失败),"
2022-02-07 10:00:00 - WARNING - /tmp/jqcore/jqboson/jqboson/api/data.py:112: FutureWarning:
Panel is deprecated and will be removed in a future version.
The recommended way to represent these types of 3-dimensional data are with a MultiIndex on a DataFrame, via the Panel.to_frame() method
Alternatively, you can use the xarray package http://xarray.pydata.org/en/stable/.
Pandas provides a `.to_xarray()` method to help automate this conversion.
fill_paused=fill_paused)
2022-02-07 10:00:00 - INFO - weights
2022-02-07 10:00:00 - INFO - [0.49659358758981126 0.44474672262711673 0.04984977429437714
没有这个现象,你可以检查下你修改的输入和jq的有何区别