Issue in resamplerfilter-Resampler
dasch last edited by
When rightedge=False, Backtrader will output all data immediately. The issue is due to a wrong assumption of the end of the current resampling.
The end point is added only if rightedge = True but should also when rightedge = False
Line 384,385 - resamplerfilter.py
# If rightedge (end of boundary is activated) add it unless recursing point += self.p.rightedge
instead it should always add 1, but the correct timestamp should be set differently?
point += 1