i want to define a custom benchmark that is simply dollar-cost-averaging into SPY every month.

is there a way to achieve this?i want to use self.SetBenchmark(self.customSPYDCA)the question is, how do i implement this function?

i know for constant values its lambda , or “SPY” for securities. but how to add positions monthly?