Is there a way to offset days from "MonthEnd"? Say, I want to trade 3 days before the last trading day of the month for "SPY"?

 

Schedule.On(self.DateRules.MonthEnd("SPY"), self.TimeRules.AfterMarketOpen("SPY", 15), Action(self.rebalance))

Author