Hello everyone,

I'd like to use the history method to create a dataframe, then sort it by the price of the highs and get the timestamp of the all-time high out of it.

history = ("AAPL", 200, Resolution.Daily) history = history.sort_values(by="high", ascending=False) timestamp = history.loc["time"][0]

This way it's not working because I get a key error. So what do I have to use instead of "time"?

Best regards,

Christian