|
发表于 2024-8-30 16:13:32
|
显示全部楼层
File "D:\策略\quantlab5.8\datafeed\expr.py", line 21, in calc_expr
se = eval(expr)
^^^^^^^^^^
File "<string>", line 1, in <module>
File "D:\策略\quantlab5.8\datafeed\expr_functions\expr_utils.py", line 67, in wrapper
ret = func(*[df[name] for name in se_names], *other_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\策略\quantlab5.8\datafeed\expr_functions\expr_period_only.py", line 21, in ta_ADX
ret = talib.ADX(high, low, close, d)
^^^^^^^^^
AttributeError: module 'talib' has no attribute 'ADX'
ts_argmax(rank(ta_ADX(high,low,close,60)), 20)
ts_argmax(rank(ta_ADX(high,low,close,60)), 20)错误
None
ta_ema(abs(volume)/40, 20)
ta_ema(abs(volume)/40, 20)错误
None
ta_ma(log(close/5), 10)
同问,算法跑着跑着就报错了 |
|