resetOn with double in rolling()

#1

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?

#2

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.

#3

Good to know!!! Thanks!!!

#4

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

1 Like