Dynamically calculate moving average between two dates after groupby - Python

后端 未结 0 1107
南旧
南旧 2021-02-02 06:52

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.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题