Method for aggregating historical data points within a time bucket.
average
min
max
first
last
mid
middle_index
sma
ema
Method for aggregating historical data points within a time bucket.
average: Mean of all values in the bucketmin: Minimum valuemax: Maximum valuefirst: First value chronologicallylast: Last value chronologicallymid: Midpoint between min and max: (min + max) / 2middle_index: Value at the middle index positionsma: Simple Moving Average with number of samples specified in the parameter array (e.g., sma:5 for 5-sample SMA)ema: Exponential Moving Average with alpha specified in the parameter array (e.g., ema:0.2 for alpha=0.2 EMA)