深度学习在期货高频上的应用示例无法运行
由xianzhen1yi创建,最终由xianzhen1yi 被浏览 24 用户
问题
这个模型克隆后无法运行,和视频讲解也不太一样,能给个完整版本供学习吗?谢谢
https://bigquant.com/wiki/doc/shendu-qihuo-shili-wXlpMm48hG
TypeError Traceback (most recent call last) <ipython-input-2-55d0e540611d> in <module> 245 ) 246 --> 247 m20 = M.cached.v3( 248 input_1=m24.data, 249 run=m20_run_bigquant_run,
<ipython-input-2-55d0e540611d> in m20_run_bigquant_run(input_1, input_2, input_3) 10 ins=input_1.read_pickle()['instruments'] 11 df = DataSource('bar1m_IF1906.CFE').read(instruments=ins,start_date=start_date,end_date=end_date) ---> 12 df['adjust_factor']=1.0 13 data_1 = DataSource.write_df(df) 14 return Outputs(data_1=data_1, data_2=None, data_3=None)
TypeError: 'NoneType' object does not support item assignment
\
解答
链接的示例已经修改更新,可以运行了。
https://bigquant.com/wiki/doc/shendu-qihuo-shili-wXlpMm48hG
\