So for example, if one wants to have an optimization period of 5 trading days so 9/3 to 9/7, use the top optimized values to trade for 9/10, see the result on 9/10, then optimize from 9/4 to 9/10, use the optimized values to trade on 9/11, print the results, etc. etc...
Is there an automated way to do this? Customized code for example? if so how?
Comment