全部 智大领峰 TBQuant功能 TBL语言 TB开户 问答专区 高手圈 其他
python中write_fundamental出错
2020-12-09 17:54

--------------------------------------------------------------------------- RuntimeError Traceback (most recent call last) RuntimeError: value参数类型错误 The above exception was the direct cause of the following exception: SystemError Traceback (most recent call last) <ipython-input-17-b5dc9e5d7d5b> in <module> 1 predict = fourierExtrapolation(tx, tn) 2 for i in range(ddrb['time'].shape[0]): ----> 3 tbpy.write_fundamental(code, "wave",ddrb['time'][i], predict[i]) c:\users\zouha\miniconda3\envs\tbquant\lib\site-packages\tbpy\__init__.py in write_fundamental(name, symbol, time, value) 60 写基础数据 61 """ ---> 62 return tbpy.write_fundamental(name, symbol, time, value, util.typeof(value)) 63 64 SystemError: <Boost.Python.function object at 0x000001B09DBD4DC0> returned a result with an error set

您未登录,请先 登录注册 后发表评论
顶部