Open
Description
There's two issues with time series and stats calculation:
- They are not accurate and may be aggregated not exactly to the bounds the user intends to (see Fix accuracy of aggregated time frames #13)
- Recalculation of time frames is too redundant and may be done on many unnecessary intervals. Intended is a divide-and-conquer approach to determine the intervals to be recalculated on each subsequent step down the size of the time interval
- Aggregating bigger time frames from smaller time frames needs to be accurate; therefore an algorithm needs to determine which intervals to aggregate from across multiple time frames to piece together small and big time frames for efficient and accurate aggregation