Start working on moving average calculation. Add a day index, calculate simple average.