to_date=(datetime.now()+timedelta(days=1)).strftime('%Y-%m-%d')
from_date= (datetime.now()-timedelta(days=20)).strftime('%Y-%m-%d')
symbol="TSLA"
api.polygon.historic_agg_v2(
symbol, multiplier =1, timespan="day",_from=from_date, to=to_date).df.tail(20)
This is only giving me 2 days if data, It was working till this morning. Has someone seen this issue?