It works fine when my account has stocks, but when I have options in my account it crashes and burns:
(I get that options aren't 'supported', but it shouldn't die should it? )
Traceback (most recent call last):
File "shell.py", line 627, in
RobinhoodShell().cmdloop()
File "/usr/lib64/python3.8/cmd.py", line 138, in cmdloop
stop = self.onecmd(line)
File "/usr/lib64/python3.8/cmd.py", line 217, in onecmd
return func(arg)
File "shell.py", line 141, in do_l
market_data = self.trader.get_stock_marketdata(instruments)
File "/home/bcrockett/Downloads/RobinhoodShell/Robinhood/Robinhood.py", line 474, in get_stock_marketdata
return info['results']
KeyError: 'results'
It works fine when my account has stocks, but when I have options in my account it crashes and burns:
(I get that options aren't 'supported', but it shouldn't die should it? )
Traceback (most recent call last): File "shell.py", line 627, in
RobinhoodShell().cmdloop()
File "/usr/lib64/python3.8/cmd.py", line 138, in cmdloop
stop = self.onecmd(line)
File "/usr/lib64/python3.8/cmd.py", line 217, in onecmd
return func(arg)
File "shell.py", line 141, in do_l
market_data = self.trader.get_stock_marketdata(instruments)
File "/home/bcrockett/Downloads/RobinhoodShell/Robinhood/Robinhood.py", line 474, in get_stock_marketdata
return info['results']
KeyError: 'results'