169 views
0

SAR指标要怎么用,计算出来的结果为什么和其它app不一样?

全部都是正,数值相差也很大

def get_sar(klines):
sar = SAR(klines, 4, 2, 20)
print(sar)
val = sar[“sar”].iloc[-1]

sar
0 NaN
1 NaN
2 NaN
3 NaN
4 123350.0
.. …
195 122900.0
196 123040.0
197 122920.0
198 123050.0
199 122940.0

Unselected an answer
0

问下你出问题的品种是?我随便找了个cu2107比较,基本上没有差距

Posted new comment

品种是ni2105,随便找一个都一样的结果

You are viewing 1 out of 1 answers, click here to view all answers.