Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
How to get a specific share price in NoteBooks not Algorithms ?

Hello,

How to get a specific share price in NoteBooks not Algorithms ?

thanks

1 response

Use get_pricing():

https://www.quantopian.com/docs/api-reference/research-api-reference#quantopian.research.get_pricing

For example:

aapl_prices= get_pricing('aapl','2020-06-30','2020-07-31',frequency='daily')  
aapl_prices.tail()