select cs_cum_max(Close) from Quote_get('IBM'); cs_cum_max ----------------------------------- float4:{10.5,20.2,30.2,40.2,50.5} (1 row) select cs_cum_min(Close) from Quote_get('IBM'); cs_cum_min ----------------------------------- float4:{10.5,10.5,10.5,10.5,10.5} (1 row) select cs_cum_sum(Close) from Quote_get('IBM'); cs_cum_sum ----------------------------------------------------------------------------------- float8:{10.5,30.7000007629395,60.9000015258789,101.100002288818,151.600002288818} (1 row) select cs_cum_avg(Close) from Quote_get('IBM'); cs_cum_avg ----------------------------------------------------------------------------------- float8:{10.5,15.3500003814697,20.3000005086263,25.2750005722046,30.3200004577637} (1 row) select cs_cum_prd(Close) from Quote_get('IBM'); cs_cum_prd --------------------------------------------------------------------------------- float8:{10.5,212.100008010864,6405.42040374756,257497.9051176,13003644.2084388} (1 row) select cs_cum_var(Close) from Quote_get('IBM'); cs_cum_var -------------------------------------------------------------------------------- float8:{0,23.5225078201292,64.6866720581052,122.766875371933,200.021595678711} (1 row) select cs_cum_dev(Close) from Quote_get('IBM'); cs_cum_dev -------------------------------------------------------------------------------- float8:{0,4.85000080619882,8.04280250025482,11.0800214517812,14.1428991256641} (1 row)