等级: 免费版
- 注册:
- 2021-7-16
- 曾用名:
|
bar_close1 = history_bars(Stock,context.X,'30m','close',include_now=True,adjusted_price=False)
bar_high1 = history_bars(Stock,context.X,'30m','high',include_now=True,adjusted_price=False)
bar_low1 = history_bars(Stock,context.X,'30m','low',include_now=True,adjusted_price=False)
bar_datetime1 = history_bars(Stock,context.X,'30m','datetime',include_now=True,adjusted_price=False)
WR = -ta.WILLR(bar_high1,bar_low1,bar_close1,timeperiod=10)
其中 bar_high1 有87个数,其它都是96,请问一下这个是什么问题,谢谢!
|
|