resetOn with double in rolling()


The documentation for rolling() says the value will get reset when it EQUALS to resetOn (double).

Let’s say my rolling sum is [8, 10, 12, 14] and my resetOn = 11.
Since the sum never EQUALs to 11, does this mean this will never get reset?


From the documentation: if is double value, it is value of reset rolling value on seeing a point whose value is equal to this parameter

It doesn’t reset when the sum is 11; it resets when an incoming point value is 11.


Good to know!!! Thanks!!!


That sentence does not make sense. We need to rewrite it.

1 Like