Greetings,
I signed up two days ago and tried to use the python API to fetch data using get_barset
.
For symbol like SPY I was able to fetch 1min bar data since 2015-01-20 up to now when I just signed up. But when I tried the same query to fetch data today (Jan 24 2020) I can only get data since 2021-01-22. Please let me know why there is a such big inconsistencies in terms of data fetch. Thank you
here is the code available:
fetch_ticker = 'SPY'
fetch_start = pd.Timestamp('2010-01-01 00:00', tz=NY)
fetch_end = pd.Timestamp('2022-01-01 00:00', tz=NY)
bardata = api.get_barset([fetch_ticker], 'minute', start=fetch_start, end=fetch_end)