Open yinshiyi opened 3 years ago
Clearly they don't take too kindly to folk not logging in to give away their data. Not sure which ones require no auth though.
>>> rh.get_quotes('GM')
[{'adjusted_previous_close': '51.040000',
'ask_price': '51.700000',
'ask_size': 100,
'bid_price': '47.000000',
'bid_size': 10,
'has_traded': True,
'instrument': 'https://api.robinhood.com/instruments/48bbe4a0-d167-4bfe-8d3b-494f9bb56350/',
'last_extended_hours_trade_price': '50.730000',
'last_trade_price': '50.680000',
'last_trade_price_source': 'consolidated',
'previous_close': '51.040000',
'previous_close_date': '2021-01-28',
'symbol': 'GM',
'trading_halted': False,
'updated_at': '2021-01-30T01:00:00Z'}]
>>>
I am using get quote, but get error code API url Thanks.