Hey Guys!

I am new to Python and just trying to figure out a something. I want to run the backtest on a minute resolution but have the SMA run on a daily resolution. My current SMA I have added:

self.sma = self.SMA("SPY", 5)

I tried for a while to change the resolution of the indicator by adding Resolution.Daily i.e.

self.sma = self.SMA("SPY", 5, Resolution.Daily)

but this didn't seem to work.

If anyone is able to give some guidance that would be such a huge help. I am just looking to run a daily resolution on the SMA and a minute resolution on the equity.

Thanks for your time

Author