Overall Statistics |
Total Trades 1 Average Win 0% Average Loss 0% Compounding Annual Return 9.616% Drawdown 33.800% Expectancy 0 Net Profit 78.866% Sharpe Ratio 0.648 Probabilistic Sharpe Ratio 16.951% Loss Rate 0% Win Rate 0% Profit-Loss Ratio 0 Alpha 0.001 Beta 0.998 Annual Standard Deviation 0.175 Annual Variance 0.031 Information Ratio 0.316 Tracking Error 0.002 Treynor Ratio 0.114 Total Fees $30.76 |
class Algorithm (QCAlgorithm): def Initialize(self): self.SetCash(1000000) self.SetStartDate(2014, 1, 1) self.SetBrokerageModel(BrokerageName.AlphaStreams) self.AddEquity("SPY", Resolution.Hour) def OnData(self, Data): self.SetHoldings("SPY", 1)