Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Submit JForex API bug reports in this forum only.
    Submit Converter issues in Converter Issues.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

Historical tester does not recognize profits
 Post subject: Historical tester does not recognize profits Post rating: 0   New post Posted: Tue 18 Dec, 2018, 11:06 
User avatar

User rating: 21
Joined: Thu 19 May, 2011, 20:50
Posts: 413
Location: Germany, Munich
If you run a strategy in Historical Tester and a position does not get closed, the p/l is not recognized.

Example given
Run the attached EquityBug.jfx, deposit = 100'000 USD, USD/JPY, testing period: yesterday, visual mode on, Show reports on
If you run this on the current JForex 3.4.13 you will get a different strategy report result than running this on JForex 2.45.77!
(The result on JForex 2 is slightly different. I am also not sure why there is this imprecision between JForex 2 and 3, but it is in a range which is ok for the moment.)
Please compare the equity development screenshot of JForex3 with the strategy reports of both systems.

JForex 3.4.13
Image

JForex 3.4.13
Image

JForex 2.45.77
Image


Attachments:
JForex2HT_works.png [79.12 KiB]
Downloaded 313 times
JForex3HT_Bug.png [78.87 KiB]
Downloaded 291 times
Chart_USD_JPY_Hourly_snapshot.png [10.09 KiB]
Downloaded 292 times
EquityBug.java [989 Bytes]
Downloaded 176 times
EquityBug.jfx [2.49 KiB]
Downloaded 175 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: Historical tester does not recognize profits Post rating: 0   New post Posted: Tue 18 Dec, 2018, 16:52 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Hello,

Yes, we know about this issue. Next platform release should fix this problem.


 

Jump to:  

  © 1998-2024 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com