Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
How to retrieve the prices of previous days?

Can we access the historical data of price and volume? It seems the variable only have the data of the current day.

Thanks.

2 responses

Hello William,

You can use the batch transform (see attached for an example).

Grant

Your code is very helpful. Thank you!!