Closed lbooker42 closed 2 days ago
NOTE: Sym is a key column and is constant for each bucket. It is presented to the UDF as a string (not a vector). intCol / longCol are vectors containing the window data.
Sym
intCol
longCol
t_out = t.updateBy(UpdateByOperation.RollingFormula(prevTicks, postTicks, "out_val=sum(intCol) - max(longCol) + (Sym == null ? 0 : Sym.length())"), "Sym");
Labels indicate documentation is required. Issues for documentation have been opened:
Community: https://github.com/deephaven/deephaven-docs-community/issues/364
Example:
NOTE:
Sym
is a key column and is constant for each bucket. It is presented to the UDF as a string (not a vector).intCol
/longCol
are vectors containing the window data.