All Grid Aggregate methods take an integer interval argument and produce a result sequence containing the calculated aggregate for each interval.
grid_agg_max( interval ) Returns the result sequence of the same TYPE
with the maximum value for each interval of elementsgrid_agg_min( interval ) Returns the result sequence of the same TYPE
with the minimum value for each interval of elementsgrid_agg_sum( interval ) Returns the result sequence of the same TYPE
with the sum of each interval of elementsgrid_agg_avg( interval ) Returns the double
result sequence with the average of each interval of elementsgrid_agg_var( interval ) Returns the double
result sequence with the variance of each interval of elementsgrid_agg_var_samp( interval ) Returns the double
result sequence with the sample variance of each interval of elementsgrid_agg_dev( interval ) Returns the double
result sequence with the standard deviation of each interval of elementsgrid_agg_dev_samp( interval ) Returns the double
result sequence with the sample standard deviation of each interval of elementsExample
Following is an example code snippet demonstrating a grid aggregate method:
cursor = con.cursor("Quote", "by_sym") for quote in cursor: ... maxit = quote.close.grid_agg_max(7) ...