Loading

LASTTICK


gts
Since v1.0.0
Available on all platforms
See also

The LASTTICK function pushes on the stack the newest tick of the Geo Time Series™ on top of the stack or, if the GTS is bucketized, its last bucket.

When applied to a list of GTS, LASTTICK will return the greatest last tick found across all Geo Time Series™.

If the GTS does not have values, Long.MIN_VALUE is pushed.

Signature

Examples

NEWGTS 100 NaN NaN NaN 10 ADDVALUE 200 NaN NaN NaN 9 ADDVALUE 300 NaN NaN NaN 8 ADDVALUE 400 NaN NaN NaN 7 ADDVALUE 500 NaN NaN NaN 6 ADDVALUE 100 NaN NaN NaN 10 ADDVALUE 200 NaN NaN NaN 9 ADDVALUE LASTTICK