Home › Forums › kdb+ › Accumulators – Access additional list / column › Re: Accumulators – Access additional list / column
-
Yes that’s much cleaner – as you only ever compute one value
c2
and only look back 1 step. this will do exactly as you need.