Hi,
I am doing live trading. historic_agg_v2 worked well. But it has been broken since two weeks ago.
Here is the issue. My code below worked well before and it simply quotes the historic close price.
But now all historical close prices are same as today’s close price.
Can you please help?
Bob
data = self.api.polygon.historic_agg_v2('QQQ', 1, 'day', _from=older_date, to=yest_date).df
d_list = data.values.tolist()
closeprice=[]
for cntd in range(-num_of_days, 0):
closeprice.append(d_list[cntd][3])