I have 2 years of daily ticker returns and I want to calculate the 6 month historical moving average return for each ticker. My data has 3 columns: date, ticker, return.