Closed bartekpuzon closed 1 year ago
This does return more data (note id
is stock id, not symbol)
marketdata_quotes_url(id) + "?bounds=24_5"
I don't know yet if last_non_reg_trade_price
or last_extended_hours_trade_price
(from the result) should be used, but as of now (11pm on a Sunday) these two are always the same. I plan to get back to using get_latest_price
outside of the night hours.
This will not return current price outside of the extended hours:
I stepped through the program and it looks like the URL the function depends on:
https://api.robinhood.com/quotes/
, doesn't return the live 24/7 price in any of its fields.How to get the current overnight stock price?