急!模拟交易出错,在编写策略(旧版)中运行正常
由insightx创建,最终由small_q 被浏览 48 用户
20230628 1021更新:运行成功了,看来是修复了。
麻烦紧急修复下,影响到实盘投资了。
报错:
[2023-06-27 20:10:07.100032] INFO moduleinvoker: instruments.v2 开始运行.. [2023-06-27 20:10:07.113078] INFO moduleinvoker: 命中缓存 [2023-06-27 20:10:07.114481] INFO moduleinvoker: instruments.v2 运行完成[0.01449s]. [2023-06-27 20:10:07.118819] INFO moduleinvoker: advanced_auto_labeler.v2 开始运行.. [2023-06-27 20:10:07.126317] INFO moduleinvoker: 命中缓存 [2023-06-27 20:10:07.581671] INFO moduleinvoker: advanced_auto_labeler.v2 运行完成[0.462786s]. [2023-06-27 20:10:07.586815] INFO moduleinvoker: input_features.v1 开始运行.. [2023-06-27 20:10:07.596018] INFO moduleinvoker: 命中缓存 [2023-06-27 20:10:07.597234] INFO moduleinvoker: input_features.v1 运行完成[0.010486s]. [2023-06-27 20:10:13.615840] INFO moduleinvoker: general_feature_extractor.v7 开始运行.. [2023-06-27 20:10:25.638329] ERROR moduleinvoker: module name: general_feature_extractor, module version: v7, trackeback: TypeError: 'NoneType' object is not iterable
TypeError Traceback (most recent call last) <ipython-input-1-8267312f3f28> in <module> 271 ) 272 --> 273 m15 = M.general_feature_extractor.v7( 274 instruments=m1.data, 275 features=m3.data,
/var/app/enabled/biglearning/module2/common/modulemanagerv2.cpython-38-x86_64-linux-gnu.so in biglearning.module2.common.modulemanagerv2.BigQuantModuleVersion.call()
/var/app/enabled/biglearning/module2/common/moduleinvoker.cpython-38-x86_64-linux-gnu.so in biglearning.module2.common.moduleinvoker.module_invoke()
/var/app/enabled/biglearning/module2/common/moduleinvoker.cpython-38-x86_64-linux-gnu.so in biglearning.module2.common.moduleinvoker._invoke_with_cache()
/var/app/enabled/biglearning/module2/common/moduleinvoker.cpython-38-x86_64-linux-gnu.so in biglearning.module2.common.moduleinvoker._invoke_with_cache()
/var/app/enabled/biglearning/module2/common/moduleinvoker.cpython-38-x86_64-linux-gnu.so in biglearning.module2.common.moduleinvoker._module_run()
/var/app/enabled/biglearning/module2/modules/general_feature_extractor/v7/init.cpython-38-x86_64-linux-gnu.so in biglearning.module2.modules.general_feature_extractor.v7.init.BigQuantModule.init()
/var/app/enabled/biglearning/module2/modules/general_feature_extractor/v7/init.cpython-38-x86_64-linux-gnu.so in biglearning.module2.modules.general_feature_extractor.v7.init.BigQuantModule._get_features_except_factor_aliases()
TypeError: 'NoneType' object is not iterable