How to get data from 16 minutes ago?


I’m facing a problem regarding the fact that you are not allowed to get data from the last 15 minutes. I have a free account and don’t want to upgrade yet. I want to get the code from 16 minutes ago, but this doesn’t seem to possible either. Here is my code, what am I doing wrong?:

dataframe = client.get_stock_bars(StockBarsRequest(symbol_or_symbols=[ticker], timeframe=TimeFrame.Minute, start =datetime.strptime("17/11/22 17:00", "%d/%m/%y %H:%M"),
1 Like