Growth calculation bug

Post Reply
Khan
Posts: 137
Joined: Wed Feb 22, 2023 10:21 am

Growth calculation bug

Post by Khan »

Hi,

I found a bug with Growth calculation under Account History.
growth_bug.png
growth_bug.png (11.57 KiB) Viewed 631 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.
Attachments
EURUSD_2_again.zip
(213.7 KiB) Downloaded 82 times
NakedMarkets
Posts: 248
Joined: Tue Feb 22, 2022 11:06 am

Re: Growth calculation bug

Post 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.
Khan
Posts: 137
Joined: Wed Feb 22, 2023 10:21 am

Re: Growth calculation bug

Post by Khan »

You are welcome and thanks!
Post Reply