def handle_bar(context):
close = history_bars(context.s,context.X+2,'self','close',include_now=True)
high = history_bars(context.s,context.X+2,'self','high',include_now=True)
low = history_bars(context.s,context.X+2,'self','low',include_now=True)
这里 hisory_bars 的frequency周期选择,填‘’self‘ 是怎么来的,没看到有类啊
用 self 表述当前设置周期, python 不是图表,在哪里看当前设置周期?
[此贴子已经被作者于2020/6/18 10:58:49编辑过]