This may have been discussed somewhere but I have not found any reference to it.
The genetic optimizer appears to rerun at the end of the optimization whichever iteration proves to be the best. I can print out the iterations from the genetic optimizer (in the Type folder) and after all the iterations are complete, I get one extra strategy execution with the parameter set from the winning iteration.
Is there a reason for this or is it "just the way it works" or am I misinterpreting the results?
I noticed this because I am writing the trade results to a SQL Server database in the genetic optimizer and kept getting duplicate key errors at the very end of the optimization run.
Best Regards,
Scott
Comment