GetFitness override should pass in previous cBots instances

Created at 28 Aug 2020, 08:29
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
a.raulinaitis's avatar

a.raulinaitis

Joined 28.08.2020

GetFitness override should pass in previous cBots instances
28 Aug 2020, 08:29


So the idea is that during optimization I should be able to get all the previously tested cBots with all their Parameters and GetFitnessArgs.

        protected override double GetFitness (GetFitnessArgs args)
        {
            IEnumerable<PreviousBot> previousBots = args.PreviousBots;

            ...
        }

The idea is to again, to generalize GetFitness with new metrics.


cTrader Automate
@a.raulinaitis