Dukascopy
 
 
Wiki JStore Search Login

Error in historical tester
 Post subject: Error in historical tester Post rating: 0   Post Posted: Fri 21 Jun, 2013, 01:28 
User avatar

User rating: 9
Joined: Sun 18 Dec, 2011, 03:31
Posts: 160
Location: Egypt, Cairo
when i test my strategy show this error "00:21:43 Strategy tester: Minimal equity limit 0.0 reached, merging and closing all groups!"

strategy was worked fine before this day [13 may 2013] , you can see problem it in uploaded picture

Image


Attachments:
St1.jpg [203.59 KiB]
Downloaded 1098 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: Error in historical tester Post rating: 1   Post Posted: Fri 21 Jun, 2013, 11:53 
User avatar

User rating: 164
Joined: Mon 08 Oct, 2012, 10:35
Posts: 676
Location: NetherlandsNetherlands
This is not an error. This means that you've lost all your money :).


 
 Post subject: Re: Error in historical tester Post rating: 0   Post Posted: Sat 22 Jun, 2013, 01:46 
User avatar

User rating: 9
Joined: Sun 18 Dec, 2011, 03:31
Posts: 160
Location: Egypt, Cairo
tcsabina wrote:
This is not an error. This means that you've lost all your money :).


first it's demo account,second it is strategy i was made and it is work well for all day expect this day make this error i don't know


 
 Post subject: Re: Error in historical tester Post rating: 0   Post Posted: Mon 24 Jun, 2013, 11:53 
User avatar

User rating: 164
Joined: Mon 08 Oct, 2012, 10:35
Posts: 676
Location: NetherlandsNetherlands
From what we can see (a simple screenshot is not much...) it looks that you've opened a position and then price dropped below 0.0239. This price 0.0239 is of course not valid, so there must something with the tester.

Try to clear cache and test again.

Also, as this is related to Automated Trading, you have better luck if you post under that topic, together with the source of the strategy, so support can check/test as well.


 
 Post subject: Re: Error in historical tester Post rating: 0   Post Posted: Wed 26 Jun, 2013, 11:29 
JForex Master
User avatar

User rating:
Joined: Wed 16 Sep, 2009, 18:23
Posts: 1054
Location: Geneva, Switzerland
It must be an error in the historical price data you use in the historical tester. Which period did you use for the test?
Try deleting the EURUSD folder in the local cache folder and restart the platform. The data will be downloaded from the server again, and there should not be any problems.


 
 Post subject: Re: Error in historical tester Post rating: 0   Post Posted: Wed 26 Jun, 2013, 17:26 
User avatar

User rating: 21
Joined: Thu 19 May, 2011, 20:50
Posts: 413
Location: Germany, Munich
I have a strange problem with the chart using 2.25.4 and the historical tester in visual mode.
I deleted the EURJPY folder, but it did not help.

Image

My Java Console prints many of this errors
Quote:
26.06.2013 18:09:21.731 SEVERE datacache.bv ] null
java.lang.IllegalMonitorStateException
at java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(Unknown Source)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(Unknown Source)
at java.util.concurrent.locks.ReentrantLock.unlock(Unknown Source)
at com.dukascopy.charts.data.datacache.v.j(Unknown Source)
at com.dukascopy.charts.data.datacache.r.d.pd(Unknown Source)
at com.dukascopy.charts.data.datacache.d.a.mx(Unknown Source)
at com.dukascopy.charts.data.datacache.d.a.a(Unknown Source)
at com.dukascopy.charts.data.datacache.d.a.b(Unknown Source)
at com.dukascopy.charts.data.datacache.g.d.newTick(Unknown Source)
at com.dukascopy.charts.data.datacache.CacheManager.a(Unknown Source)
at com.dukascopy.charts.data.datacache.CacheManager.a(Unknown Source)
at com.dukascopy.charts.data.datacache.ck.a(Unknown Source)
at com.dukascopy.charts.data.datacache.bv.run(Unknown Source)
at com.dukascopy.charts.data.datacache.ai.a(Unknown Source)
at com.dukascopy.dds2.greed.agent.strategy.tester.b.a.b(Unknown Source)
at com.dukascopy.dds2.greed.agent.strategy.tester.b.a.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)



My urgent call
Dukascopy: Please send BETAs to developers and testers first, before you release new DEMO or LIVE versions! Do not change the running versions before a BETA is not approved!


Attachments:
Chart_EUR_JPY_5 Mins_snapshot.png [20.58 KiB]
Downloaded 1111 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: Error in historical tester Post rating: 0   Post Posted: Thu 27 Jun, 2013, 01:27 
User avatar

User rating: 9
Joined: Sun 18 Dec, 2011, 03:31
Posts: 160
Location: Egypt, Cairo
Platform Support wrote:
It must be an error in the historical price data you use in the historical tester. Which period did you use for the test?
Try deleting the EURUSD folder in the local cache folder and restart the platform. The data will be downloaded from the server again, and there should not be any problems.


i use Ticks period
can explain me how can i delete EURUSD folder in the local cache folder ?


 
 Post subject: Re: Error in historical tester Post rating: 0   Post Posted: Thu 27 Jun, 2013, 08:18 
User avatar

User rating: 21
Joined: Thu 19 May, 2011, 20:50
Posts: 413
Location: Germany, Munich
Look up and copy the "Local cache path" from the menu-->Tools-->Preferences-->Advanced
Then paste this path into your file manager.
There you can see the EURUSD folder.


 
 Post subject: Re: Error in historical tester Post rating: 0   Post Posted: Thu 27 Jun, 2013, 08:34 
User avatar

User rating: 9
Joined: Sun 18 Dec, 2011, 03:31
Posts: 160
Location: Egypt, Cairo
SFXbernhard wrote:
Look up and copy the "Local cache path" from the menu-->Tools-->Preferences-->Advanced
Then paste this path into your file manager.
There you can see the EURUSD folder.


Thanks you


 
 Post subject: Re: Error in historical tester Post rating: 0   Post Posted: Thu 27 Jun, 2013, 11:52 
User avatar

User rating: 164
Joined: Mon 08 Oct, 2012, 10:35
Posts: 676
Location: NetherlandsNetherlands
Quote:
I have a strange problem with the chart using 2.25.4 and the historical tester in visual mode.

I saw this yesterday as well.
I thought it is the fact that I am using remote connection to the PC where the HT is running. Or I thought maybe it is because I pause and resume the test to fine tune something (I haven't done pause-resume-pause-resume... loops previously).

So it is a bug then...

I solved it (temporary) by restarting the platform. But it came back after 2-3 test runs...


 
 Post subject: Re: Error in historical tester Post rating: 1   Post Posted: Thu 27 Jun, 2013, 12:44 
User avatar

User rating: 2
Joined: Thu 27 Jun, 2013, 07:45
Posts: 11
From Yesterday I have exactly same problem with HT in visual mode. After new DEMO account , the jForex platform updates to 2.25.4 , Jforex API ver. 2.7.10
Java is 7u25 for windows 64 bit ,
I always run HT with equity , balance , P/L - all unchecked , period - 30 minutes (chart period)

The problem is very strange behavior in visual mode - sometimes the chart stop feeding itself , some times freeze , some times the current candle is drawing normaly , but when it ends - becomes flat on the chart.

I have compile empty strategy (w/o any logic) , just to test chart feeding in HT visual mode. Same problems.
In the JAVA console i recieved the following exception:

27.06.2013 13:57:30.791 SEVERE datacache.bv ] null
java.lang.IllegalMonitorStateException
at java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(Unknown Source)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(Unknown Source)
at java.util.concurrent.locks.ReentrantLock.unlock(Unknown Source)
at com.dukascopy.charts.data.datacache.v.j(Unknown Source)
at com.dukascopy.charts.data.datacache.r.d.pd(Unknown Source)
at com.dukascopy.charts.data.datacache.d.a.mx(Unknown Source)
at com.dukascopy.charts.data.datacache.d.a.a(Unknown Source)
at com.dukascopy.charts.data.datacache.d.a.b(Unknown Source)
at com.dukascopy.charts.data.datacache.g.d.newTick(Unknown Source)
at com.dukascopy.charts.data.datacache.CacheManager.a(Unknown Source)
at com.dukascopy.charts.data.datacache.CacheManager.a(Unknown Source)
at com.dukascopy.charts.data.datacache.ck.a(Unknown Source)
at com.dukascopy.charts.data.datacache.bv.run(Unknown Source)
at com.dukascopy.charts.data.datacache.ai.a(Unknown Source)
at com.dukascopy.dds2.greed.agent.strategy.tester.b.a.b(Unknown Source)
at com.dukascopy.dds2.greed.agent.strategy.tester.b.a.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

The problem is not resolved after deleting instrument folder in the cache
I have tested empty strategy even with the instrument i never used before (i.e. there was no folder for the instrument in the cache). Same Result.
I have uninstall Java , clear all temp files in the C:\Users\XXXX\AppData\LocalLow\Sun
Then i have installed java 7u15 64 bit. Same result.
Then i switched to 32 bit Java . Same result.
Sometimes in Java console apears rows like:

Invalidating entry url= file=C:\Users\XXXX\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\24\c91e1d8-75d93862.idx

With Latest Java 7u25 only in Java console apears the following errors:

Missing Permissions manifest attribute for: https://www.dukascopy.com/client/demo/j ... r-1.20.jar
Missing Codebase manifest attribute for: https://www.dukascopy.com/client/demo/j ... r-1.20.jar
Missing Permissions manifest attribute for: https://www.dukascopy.com/client/demo/j ... -3.4.0.jar
And so on...


 
 Post subject: Re: Error in historical tester Post rating: 0   Post Posted: Thu 27 Jun, 2013, 13:41 
JForex Master
User avatar

User rating:
Joined: Wed 16 Sep, 2009, 18:23
Posts: 1054
Location: Geneva, Switzerland
We are looking into this


 
 Post subject: Re: Error in historical tester Post rating: 0   Post Posted: Thu 27 Jun, 2013, 21:37 
User avatar

User rating: 164
Joined: Mon 08 Oct, 2012, 10:35
Posts: 676
Location: NetherlandsNetherlands
Wow, krassy1809 :shock:
That's an intense test...
I give you a +1 just for this :).


 
 Post subject: Re: Error in historical tester Post rating: 0   Post Posted: Fri 28 Jun, 2013, 07:59 
User avatar

User rating: 2
Joined: Thu 27 Jun, 2013, 07:45
Posts: 11
Dear Support,
Yesterday , i continued with more deep tests with HT , to help you reseolve the problem.

0. I Cleared java tempoary files from control panel\java , i did check all the checkBoxes in "Delete Temporary Files" applet.
1. I unistalled all java`s from the computer.
2. I Deleted folder C:\Users\XXXX\AppData\LocalLow\Sun
3. Walk into registry on my Windows 7 64 bit , and I deleted all keys wich contains the word "JavaSoft"
4. Check the c:\Program Files and c:\Program Files (x86) for existence of any java related files.
5. Execute the command:
C:\Users\XXXX\AppData\Local\Temp>del jar*.tmp /Q
6. I Deleted everything from the folder: C:\Users\XXXX\Local Settings\JForex\.cache , also deleted the Workspace folder.
6.5 I Restarted computer
7. I have downloaded from Oracle archive jre-6u45-windows-i586.exe and jre-6u45-windows-x64.exe
8. I instaled them in the same order
9. Again Restart
10. Downloaded and run jforex.jnlp
11. jForex Platform Started successfully.
12. I Created New Strategy. W/o any modifications except the name - compiled successfully.
13. Decided to use USD/CAD instrument , start Historical Data Manager and start downloading historical data(01.01.2013 to 27.06.2013) for the instrument USD/CAD in following order:
a\ ticks
b\ 1 minute ask
c\ 1 minute bid
d\ 5 minute ask
e\ 5 minute bid
f\ 15 minute ask
g\ 15 minute bid
h\ 30 minute ask
i\ 30 minute bid
j\ 1 hour ask
k\ 1 hour bid
l\ 4 hours ask
m\ 4 hours bid
n\ daily ask
o\ daily bid
In the cache the system creates folder USD/CAD and fill with data
14. I have closed all charts , and removed all unnessesary instruments from the platform
15. Started HT , checked visual mode , checked Show messages , click Custom Setings , unchecked Equity and P/L, chosed Period 30 Minutes(for the chart), clicked on Instruments and checked Only USD/CAD.
16. From the DropDown menu chosed "Last month" , nextone "Ticks", nextone "Process all ticks"
17. Start test , slowly incresed the speed with slider.

The problem occurs again , after speed is above x6 (i.e. x7 , x8 , max)
I did 2 screen Shots , as you see , the current candle is drowing normaly , but when ends becomes flat.

Same exception apears in the java console


Attachments:
Seccond.png [91.98 KiB]
Downloaded 809 times
firstShot.png [105.46 KiB]
Downloaded 817 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: Error in historical tester Post rating: 0   Post Posted: Fri 28 Jun, 2013, 08:05 
User avatar

User rating: 2
Joined: Thu 27 Jun, 2013, 07:45
Posts: 11
tcsabina , thank you :D


 
 Post subject: Re: Error in historical tester Post rating: 0   Post Posted: Fri 28 Jun, 2013, 12:32 
User avatar

User rating: 0
Joined: Thu 27 Jun, 2013, 14:03
Posts: 1
Location: Sweden, Göteborg
any solution yet? go back to latest version then? before this weekends updating


 
 Post subject: Re: Error in historical tester Post rating: 0   Post Posted: Mon 01 Jul, 2013, 00:44 
User avatar

User rating: 21
Joined: Thu 19 May, 2011, 20:50
Posts: 413
Location: Germany, Munich
My urgent call
Dukascopy: Please send BETAs to developers and testers first, before you release new DEMO or LIVE versions! Do not change the running versions before a BETA is not approved!


 
 Post subject: Re: Error in historical tester Post rating: 0   Post Posted: Mon 01 Jul, 2013, 04:17 
User avatar

User rating: 9
Joined: Sun 18 Dec, 2011, 03:31
Posts: 160
Location: Egypt, Cairo
SFXbernhard wrote:
My urgent call
Dukascopy: Please send BETAs to developers and testers first, before you release new DEMO or LIVE versions! Do not change the running versions before a BETA is not approved!

I agree with you


 
 Post subject: Re: Error in historical tester Post rating: 0   Post Posted: Mon 01 Jul, 2013, 07:32 
User avatar

User rating: 2
Joined: Thu 27 Jun, 2013, 07:45
Posts: 11
Dear Support,
I have tested with perfect working strategy in the HT (Few Weeks ago WAS perfect working :( )
In the optimization mode (i.e. w/o chart) HT starts normaly , the number of total trades is rising.
But when the java.lang.IllegalMonitorStateException occurs , the test is running but Hisorical Tester no longer make tradas!
Please inform us How far you have advanced to solve this problem.


 
 Post subject: Re: Error in historical tester Post rating: 0   Post Posted: Mon 01 Jul, 2013, 12:49 
JForex Master
User avatar

User rating:
Joined: Wed 16 Sep, 2009, 18:23
Posts: 1054
Location: Geneva, Switzerland
We are releasing a new version soon with the problem rectified.


 

Jump to:  

  © 1998-2025 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