Loading

ONLYBUCKETS


gts
Since v1.0.0
Available on all platforms

Only retains ticks from Geo Time Series™ with timestamps which are bucket ends. If an input GTS is not bucketized, a clone of the GTS will be returned.

The ONLYBUCKETS function does not remove duplicate ticks, please consider using DEDUP for that purpose.

Signature

Examples

NEWGTS 1 100 <% NaN NaN NaN RAND ADDVALUE %> FOR 1 ->LIST [ SWAP bucketizer.last 100 10 0 ] BUCKETIZE UNLIST 11 NaN NaN NaN 0.0 ADDVALUE ] DUP ONLYBUCKETS