Loading

LASTTICK

gts

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.

LASTTICK is available since version 1.0.0.

See also

Signatures

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