Page 1 of 1

Growth calculation bug

Posted: Sun May 07, 2023 7:16 pm
by Khan
Hi,

I found a bug with Growth calculation under Account History.
growth_bug.png
growth_bug.png (11.57 KiB) Viewed 667 times
Here, commissions are bigger than profit and points is -1. By all accounts I lost this trade, yet Growth shows a positive 0.01%.

I'm not sure but I think that this bug also affects open positions as well.

I attached the relevant backtest file.

Re: Growth calculation bug

Posted: Thu May 18, 2023 4:52 pm
by NakedMarkets
Hi,
To be more specific, it was not a growth calculation bug. It was a commission calculation missing issue in very specific conditions. It's explained in the new version post.
It has been fixed, thanks for your report and your backtest file to help us find the issue.

Re: Growth calculation bug

Posted: Thu May 18, 2023 6:11 pm
by Khan
You are welcome and thanks!