Hi everyone,

I'm trying to access Tick data in research environment with the following code:

aapl = qb.AddEquity("AAPL")
start_time = datetime.strptime('2020-03-20 09:46:00', '%Y-%m-%d %H:%M:%S')
end_time = datetime.strptime('2020-03-20 10:06:00', '%Y-%m-%d %H:%M:%S')
data = qb.History(['AAPL'], start_time, end_time, Resolution.Tick)

However, I get the following exception:

23 start_time = datetime.strptime('2020-03-20 09:46:00', '%Y-%m-%d %H:%M:%S')
24 end_time = datetime.strptime('2020-03-20 10:06:00', '%Y-%m-%d %H:%M:%S')
---> 25 data = qb.History(['AAPL'], start_time, end_time, Resolution.Tick)
26

Exception: cannot handle a non-unique multi-index!

Is there anything wrong with my API call? or the problem is somewhere else?

 

Thanks, Grigori.