Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Getting data by time

Hi,

Is there a way to retrieve the data in time iterations

ie: it is 10:35 and I want to know what prices were at 10:30, 10:25, 10:20, 9:45...

1 response

See:

https://www.quantopian.com/help#ide-history
https://www.quantopian.com/help#api-data-history

history will get you the trailing window of minute bars, but you'll need to select the data as you see fit.