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
Traceback (most recent call last):
File "main.py", line 259, in
scan_stocks()
File "main.py", line 248, in scan_stocks
cross = golden_cross(symbol, n1=50, n2=200, days=10, direction="above")
File "main.py", line 159, in golden_cross
if(direction == "above" and not five_year_check(stockTicker)):
File "main.py", line 131, in five_year_check
if ((pd.Timestamp("now") - pd.to_datetime(list_date)) < pd.Timedelta("5 Y")):
TypeError: unsupported operand type(s) for -: 'Timestamp' and 'NoneType'
The text was updated successfully, but these errors were encountered:
----- Scanning portfolio for stocks to sell -----
----- Scanning watchlist for stocks to buy -----
Traceback (most recent call last):
File "main.py", line 259, in
scan_stocks()
File "main.py", line 248, in scan_stocks
cross = golden_cross(symbol, n1=50, n2=200, days=10, direction="above")
File "main.py", line 159, in golden_cross
if(direction == "above" and not five_year_check(stockTicker)):
File "main.py", line 131, in five_year_check
if ((pd.Timestamp("now") - pd.to_datetime(list_date)) < pd.Timedelta("5 Y")):
TypeError: unsupported operand type(s) for -: 'Timestamp' and 'NoneType'
The text was updated successfully, but these errors were encountered: