rollup()
Roll up multiple Candlestick aggregates
Since 1.12.0
Combine multiple intermediate candlestick aggregates, produced by candlestick_agg or candlestick, into a single
intermediate candlestick aggregate. For example, you can use rollup to combine candlestick aggregates from 15-minute
buckets into daily buckets.
Arguments
Section titled “Arguments”The syntax is:
rollup( candlestick Candlestick) RETURNS Candlestick| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| candlestick | Candlestick | - | ✔ | The aggregate produced by a candlestick or candlestick_agg call |
Returns
Section titled “Returns”| Column | Type | Description |
|---|---|---|
| candlestick | Candlestick | A new candlestick aggregate produced by combining the input candlestick aggregates |