I see there is a SampleCumProfit.cs file that might be helpful. I assume OnAddTrade gets called for each trade? I think I can work with that.
The problem I see is that "SampleCumProfit" does not appear in the list of available Optimization methods to optimize on. I could create my own in the OptimizationFitnesses directory, but how do I give it access to the ratio that I calculate in the PerformanceMetrics cs file?
Thanks,
John
Comment