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'
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: