This may be old news to you, but yesterday I realized that the variable optimization tool is working differently than I would expect, maybe a bug (or feature…)
When I hardcode the Limit, StopLoss and Breakeven parameters it calculates the Stakesize as a Float in the Detailed report
When I use the optimization tool it uses an Integer instead for the Stakesize (so instead of 5.36 it would use 5)
This is odd as the hardcoded numbers are not directly related to the stakesize…
Let me know if you need more data, would be glad to try and help PRT after you guys helped me so much…
This is the code that I use to calculate the StackSize