Lets say I have an algorithm which is simply choosing to be in or out of the market with a 1 month holding window. I run this algorithm at the start of each month. Algorithm works great. Sharpe > 1. etc.
To test the robustness of the algorithm, I'd like to know that it performs reasonably well no matter what day of the month it starts on. One way I could do this would be to run a backtest which makes trading decisions on different trading day of the month (say offsets of 1-20). The robustness of my algorithm would be verified if the results are consistent no matter which day of the month it runs on.
Other examples might be varying algorithm start date across months (e.g. run algorithms on 1 year windows of data and then test across different start months to make sure you didn't choose the ideal start date). You could also use something like this for parameter optimization.
Is there any way to do something like this?