Hi All-

I've been struggling to create even the simplest of beta indicator (B) whether manual or automatic. I started in a dynamic universe but moved to an isolated algo based on the example in the documentation. Even in this simplified environment I can't get an automatic or manual (using registration) B indicator to backtest. 

Also, the documentation is confusing for a manual B indicator: the reference benchmark is set to “SPY” in self.b = Beta("SPY", 20) but RegisterIndicator also passes in SPY again (where is our target AAPL passed in)? In the code below I changed it to the target symbol to be measured against SPY. Either with the target or SPY, I can't get anything to backtest. 

Any help is appreciated.

# region imports
from AlgorithmImports import *
# endregion

class CrawlingBlueArmadillo(QCAlgorithm):

    def Initialize(self):
        self.SetStartDate(2023, 1, 1)  # Set Start Date
        self.SetCash(100000)  # Set Strategy Cash
        self.symbol = self.AddEquity("SPY", Resolution.Daily).Symbol
        self.target = self.AddEquity("AAPL", Resolution.Daily).Symbol
        self.SetWarmup(25, Resolution.Daily)
        self.b = Beta("SPY", 20)
        self.RegisterIndicator(self.target, self.b, Resolution.Daily)

    def OnData(self, data):
        if self.b.IsReady:
            self.Plot("Beta", "b", self.b.Current.Value)