问答交流

HFTRADE中的 数据获得

由jasonsu创建,最终由jasonsu 被浏览 36 用户

data.history(instr, 'close', 1, '1m') 会出现下面的错误:

02750.SZA None


我也试过data.current(instr,’close’) 也是报错,

<moduleinvoker: module name: hfbacktest, module version: v1, trackeback: AttributeError: 'NoneType' object has no attribute 'get_value'>


我也遇到同样的问题.


\

评论
  • 方便提供一下策略吗,这边复现一下
  • 请问怎样把策略贴上来?
  • [https://bigquant.com/experimentshare/29fcd05b64904723a063d9449f688f8d](https://bigquant.com/experimentshare/29fcd05b64904723a063d9449f688f8d) \
{link}