Apologies if this has been asked already. I'm using the REST API via Python in order to pull 1 minute intraday summary data. Goal of my analysis is to study a set of (~400) historical events going back to 1996. Specifically, I want to construct intraday surprises in a narrow window around these events, for a variety of RICs.
Instead of one big query of intraday data going back to 1996, I though it would be more efficient if instead I download only data for the dates I'm interested in.
As a beginner, I see two ways of doing so:
1) I use Python to loop over each date where I have an event, effectively sending 400 different on-demand extraction requests
2) There is some clever way to provide multiple QueryStartDate/QueryEndDate in the JSON file of the
on demand extraction request:
"QueryStartDate": QueryStartDate ,
"QueryEndDate": QueryEndDate ,
Could anyone advice me if 2) is possible. If not, would 1) go against the best practice? Yet an alternative way might be to use Google Cloud integration of Tick History, altough not sure I need it.
Thanks for any help,