File "C:\Users\...\AppData\Local\Programs\Python\Python37\lib\site-packages\backtrader\indicators\basicops.py", line 363, in once
for i in range(start, end):
TypeError: 'float' object cannot be interpreted as an integer

What did I miss? I have already tried with different timeframes and compressions.