Hi all

I wonder what's wrong with my backtest (see attached). It's my understanding that

self.SetBenchmark("SPY")

sets the reference benchmark for the calculations in the statistics section. Nevertheless I get some positive Alpha of 0.142 (I assume this means 14.2% p.a.), even when I just go long the SPY:

if not self.Portfolio.Invested: self.SetHoldings("SPY", 1)

Furthermore, the beta is -0.049, shouldn't it be 1?

Is there anything I missunderstand? And if so, what do I have to do?

Many thanks!

Author