Overall Statistics |
class TransdimensionalCalibratedCoil(QCAlgorithm): def Initialize(self): self.SetStartDate(2018, 12, 9) # Set Start Date self.SetEndDate(2018, 12, 31) self.SetCash(100000) # Set Strategy Cash self.AddEquity("SPY", Resolution.Daily) self.ichimoku = self.ICHIMOKU("SPY", 9, 26, 26, 52, 26, 26) self.SetWarmUp(100) def OnData(self, data): if self.ichimoku.IsReady and not self.IsWarmedUp: self.Log(f"Tenkan: {self.ichimoku.Tenkan}, Kijun: {self.ichimoku.Kijun}")