请问我在python当中使用语句close = history_bars('context.s1',1,'1d','CLOSE')
print(close)在回测中输出全部是空数组是怎么回事呢?
Python中的语句D = get_indicator('context.s1','MACD','DIFF','1d',i)回测时报错<built-in function get_indicator>returned a result with an error set 是为什么呢
[此贴子已经被作者于2019/2/13 16:30:25编辑过]
close = history_bars(context.s1,1,'1d','CLOSE')
context.s1本身是字符串不要再加引号了