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
I have the latest version of robin_stocks; I'm not sure if that's the foremost issue, who knows.
I was actually looking at the list of functions for the latest version of robin_stocks; I realized that the function "get_historicals" doesn't exist. After replacing the initial function and amending it with "get_stock_historicals," an error popped up: "TypeError: 'NoneType' object is not subscriptable"
Are/is there any remedy for this?
Here's the full error:
File "c:/Users/mouse/OneDrive/Desktop/RobinhoodBot/robinhoodbot/main.py", line 271, in <module>
scan_stocks()
File "c:/Users/mouse/OneDrive/Desktop/RobinhoodBot/robinhoodbot/main.py", line 251, in scan_stocks
cross = golden_cross(symbol, n1=50, n2=200, days=30, direction="below")
File "c:/Users/mouse/OneDrive/Desktop/RobinhoodBot/robinhoodbot/main.py", line 168, in golden_cross
history = r.get_historicals(stockTicker,span='year',bounds='regular')
AttributeError: module 'robin_stocks' has no attribute 'get_historicals'
The text was updated successfully, but these errors were encountered:
I just tried upgrading to the latest version of robin_stocks myself and indeed it doesn't work on the latest version. The error is due to the API request to Robinhood being broken somehow in the newer version of robin_stocks. This is what I see when I try running get_stock_historicals:
I have the latest version of robin_stocks; I'm not sure if that's the foremost issue, who knows.
I was actually looking at the list of functions for the latest version of robin_stocks; I realized that the function "get_historicals" doesn't exist. After replacing the initial function and amending it with "get_stock_historicals," an error popped up: "TypeError: 'NoneType' object is not subscriptable"
Are/is there any remedy for this?
Here's the full error:
The text was updated successfully, but these errors were encountered: