On Python I run
barset = api.get_barset(‘AAPL’, ‘5Min’, limit=3, start = ‘2020-04-06’, end =‘2020-04-08’)
print (barset[‘AAPL’][0].t)
print (barset[‘AAPL’][1].t)
and the output is
2020-06-05 15:50:00-04:00
2020-06-05 15:55:00-04:00
The dates are incorrect. Am I doing something wrong?