Alpaca API does not return 1min data for past 90 days, is there any limitation that I am not aware of?
thank you
Alpaca API does not return 1min data for past 90 days, is there any limitation that I am not aware of?
thank you
It seems there is a limit of up to 1000 bars per call:
However, I am wondering myself how far in time we can retrieve 1-minute bars from the past? Any idea?
you can chunk your calls sequentially. Chunk your 90 days in terms of minutes into 1000 chunks, and then from that array pull until you get the amount of data you need. Since get_barset() has a start and end time flags, but I’ve been trying different time formats to no avail. Not even .isoformat() works