1 (edited by geektrader 2022-08-31 03:02:27)

Topic: Serious bug in v22.8.30, all profits/losses on ***JPY pairs are x100

Hi Mr. Popov,

in the v22.8.30 update of EA Studio, profits/losses on all ***JPY pairs are multiplied x100. This does not only happen with my own uploaded data but also with the Premium Data that comes with EA Studio. This is a screenshot of a GBPJPY strategy that was created with v22.8.13 trading 1 lot:

https://i.postimg.cc/g0QCTRHP/Untitled01.png

Retesting this strategy, this is what happens:

https://i.postimg.cc/TwbzMwt5/Untitled02.png

Looking at the resulting losses from trading 1 lot in the Journal, it shows that the profits/losses do not match to 1 lot, but are multiplied by x100:

https://i.postimg.cc/RZVx6vZ2/Untitled03.png

This does only happen on all the ***JPY pairs, all other pairs are fine. I hope you can fix this quickly, as EA Studio can´t be used with ***JPY pairs right now because of this bug.

Thanks :-)

2 (edited by geektrader 2022-08-31 03:31:17)

Re: Serious bug in v22.8.30, all profits/losses on ***JPY pairs are x100

P.S.: Funny thing, as I´ve just noticed, this problem happens with all ***JPY pairs but *not* USDJPY (custom data and premium data). Everything is normal with the profits/losses on that pair and reloading previously generated USDJPY strategies and retesting them results in the exact same values as in v22.8.13. Odd.

Re: Serious bug in v22.8.30, all profits/losses on ***JPY pairs are x100

Hello geektrader...

I trade GJ and CJ and have not encountered this problem.  The images you uploaded are helpful.  I noticed in the Report image the data horizon stretches back over 30 years.  I'm curious whether the problem exists when the data horizon is shorter -- like maybe the most recent 3 months?

4 (edited by geektrader 2022-08-31 03:57:58)

Re: Serious bug in v22.8.30, all profits/losses on ***JPY pairs are x100

Thanks, but no, it´s all the same, also with shorter durations and on the Premium Data too (not using my own custom data).

Did you reload EA Studio so that you are indeed using the v22.8.30 (look at the footer of the EA Studio sites)? Also make sure you are using USD as the account base currency in EA Studio.

Yesterday, with v22.8.13, everything was fine.

https://i.postimg.cc/pdFKMhFH/Untitled04.png

https://i.postimg.cc/W1K0y6t8/Untitled05.png

Re: Serious bug in v22.8.30, all profits/losses on ***JPY pairs are x100

It can be caused by the conversion rate.

I'll check it today.

Thank you for the report?

6 (edited by geektrader 2022-08-31 04:08:28)

Re: Serious bug in v22.8.30, all profits/losses on ***JPY pairs are x100

Good Morning, Mr. Popov. Interestingly, when switching account base currency to JPY, the result is still wrong. Not sure what is going on and why it´s happening for all ***JPY pairs but not on USDJPY. Would be interesting to hear what the cause is when you were able to fix it. Thanks :-)

7 (edited by sleytus 2022-08-31 05:14:44)

Re: Serious bug in v22.8.30, all profits/losses on ***JPY pairs are x100

I did a quick and dirty test using GJ with 0.01 lot and to my eyes this is working.  I've attached a screenshot of the Report.  And, yes, I'm running version v22.8.30.

Post's attachments

Geektrader-02.png 789.46 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

Re: Serious bug in v22.8.30, all profits/losses on ***JPY pairs are x100

Please reload EA Studio with Ctrl + F5

The problem was not in EA Studio but in the Exchange Rate service.

I'm using a MT5 on a virtual server to update the Exchange Rates. It was crashed at some time and the service stopped providing fresh rates.

Having empty Exchange Rate data, EA Studio used rate of 1.
The effect was that instead of dividing the profit to the current JPY price, it divides by 1. Form here comes the 100ish difference.

...

I'll think of how to prevent such cases to happen again.
This happens for first time from 6 years. However, it must be fixed as soon as possible.
I can add two layers of protection.
- Server to not save "empty" exchange rates data.
- EA Studio to not update his own local records when the server provides empty data.

Re: Serious bug in v22.8.30, all profits/losses on ***JPY pairs are x100

I can add two layers of protection.
- Server to not save "empty" exchange rates data.
- EA Studio to not update his own local records when the server provides empty data.

Done!

Re: Serious bug in v22.8.30, all profits/losses on ***JPY pairs are x100

You are fast :-) Thanks for the explanation and the super-quick fix + making sure it won´t happen again (although 6 years is nothing to be concerned about really). Such quality work always impresses me and I really appreciate your amazing efforts. Have a great day!