Improvements in moving average
Created the collection stock_days