For example, when using a custom databank column that only outputs 0 (to test this), fitness scores of 0.5 - 1 are still being output and seemingly based on the amount of net profit a strategy made. The same trait was initial spotted when I was using only Winning Percent in the selection of columns and I noticed that many strategies had a higher fitness score simply because their net profit was higher, even though the Winning Percent was lower.
This is completely misleading - fitness should be calculated with exactly what has been selected, nothing more, nothing less.
Is it possible to understand how exactly fitness scoring is calculated per databank column as well as how the aggregate fitness is calculated when Weighted Fitness is in use?
Status changed from New to Waiting for information
Attachment bugged_fitness.jpg added
Attachment correct_fitness.jpg added
Attachment custom_fitness_option.jpg added
Attachment Strategy 12444 fitness bugged.sqx added
Attachment Strategy 423285 fitness ok.sqx added
Attachment Screenshot 40.png added
Attachment Screenshot 39.png added
Status changed from In progress to Fixed
Weighted fitness is computed only from the stats selected in UI.
If the stat value range is 0 - 1 then yes, the fitness is the same as stat value. Good example is SharpeRatio
We made some changes to improve the fitness computation.
If you still have a problem with fitness, please attach a bunch of problematic strategies to reproduce the issue.
If this is the case, can you please explain why in the provided examples the fitness suddenly jumps up from 0.8x to 1 whilst having far worse stats?
"If the stat value range is 0 - 1 then yes, the fitness is the same as stat value."
What about for stats where the value is not between 0-1? A good example for this would be Net Profit.
Attachment transform.jpg added
Attached a printscreen with a logic of transform method.
However, I'm still not sure why the fitness changed from 0.8x to 1 in my example systems. Do you know exactly why?
fitness changed from 0.8x to 1
>>>>>>>>>>>>>>>>>>
Fitness is calculated with the same logic every time so the result must be the same.
Please attach the problematic strategies and write step by step how to reproduce the problem.
I understand that the fitness is the same calculation each time, I just do not understand how these strategies are rated with maximum fitness (1).
i really dont know how it really works and i am not using fitness at all, but from my work i can see, that even i am ranking only by RDD i can see unsorted fitness if i sort by RDD