Hello all. I am new to Quantopian and I am trying to calculate CAPM using the new pipeline. I have seen: this link
but I am struggling. I need a way to calculate CAPM that works in my Pipeline without needing to identify explicitly the equity I would like to calculate CAPM for nor the start and end date. Any help would be deeply appreciated.
(https://www.quantopian.com/lectures/the-capital-asset-pricing-model-and-arbitrage-pricing-theory)