问答交流

向导生成器-普通策略生成的策略执行报错

由user8400创建,最终由user8400 被浏览 42 用户

问题

策略地址:

https://bigquant.com/experimentshare/b4ae726342b840f8af0dc0579ceeb94d

错误信息如下:

<ERROR: moduleinvoker: module name: cached, module version: v3, trackeback: AttributeError: 'NoneType' object has no attribute 'read_df'>

AttributeError Traceback (most recent call last) <ipython-input-1-941832e3b5f2> in <module> 505 ) 506 --> 507 m22 = M.cached.v3( 508 run=m22_run_bigquant_run, 509 post_run=m22_post_run_bigquant_run,

<ipython-input-1-941832e3b5f2> in m22_run_bigquant_run(input_1, input_2, input_3) 19 def m22_run_bigquant_run(input_1, input_2, input_3): 20 # 示例代码如下。在这里编写您的代码 ---> 21 df = input_1.read_df() 22 # 缺失值处理 23 # if len(df)!=0:

AttributeError: 'NoneType' object has no attribute 'read_df'

所有策略条件均是默认值

\

解答

https://bigquant.com/experimentshare/5a7871e5fcfd439baafe46e53de5ef75


{w:100}


这里的线没有连上

标签

AttributeError
评论
  • [https://bigquant.com/experimentshare/5a7871e5fcfd439baafe46e53de5ef75](https://bigquant.com/experimentshare/5a7871e5fcfd439baafe46e53de5ef75) ![{w:100}](/wiki/api/attachments.redirect?id=d3c5dcd3-55ee-4060-8338-11937c88c815)这里的线没有连上
{link}