You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "C:\Users\wb\AppData\Local\Programs\Python\Python38\lib\site-packages\tqsdk\ta.py", line 344, in SAR
sar = _sar(df["open"].values, df["high"].values, df["low"].values, df["close"].values, range_high.values,
File "C:\Users\wb\AppData\Local\Programs\Python\Python38\lib\site-packages\tqsdk\ta.py", line 277, in _sar
trend = 1 if (close[n] - open[n]) > 0 else -1
IndexError: index 202 is out of bounds for axis 0 with size 200
The text was updated successfully, but these errors were encountered:
File "C:\Users\wb\AppData\Local\Programs\Python\Python38\lib\site-packages\tqsdk\ta.py", line 344, in SAR
sar = _sar(df["open"].values, df["high"].values, df["low"].values, df["close"].values, range_high.values,
File "C:\Users\wb\AppData\Local\Programs\Python\Python38\lib\site-packages\tqsdk\ta.py", line 277, in _sar
trend = 1 if (close[n] - open[n]) > 0 else -1
IndexError: index 202 is out of bounds for axis 0 with size 200
The text was updated successfully, but these errors were encountered: