Dukascopy
 
 
Wiki JStore Search Login

JFOREX-1483: Historical Tester Stops
 Post subject: JFOREX-1483: Historical Tester Stops Post rating: 0   New post Posted: Wed 27 Jan, 2010, 21:59 

User rating: 0
Joined: Mon 04 Jan, 2010, 19:56
Posts: 9
Since the new version ist out I am encountering a problem which I never had before. When I am doing long backtests (~4 hours and up) it occurs that the tester stops without any observable reason. If I try to click the pause-button it does not react, I also cannot cancel, only closing the application helps. This suddenly happened on all my strategies and on all four machines I am using. This behavior started whenever I replaced the old Forex version by the new one on one of the machines. All strategies are Java code (no mql4 bridge). I built markers into the code to ensure that the code does not stop due to a failuere in the code. The result was negative: The code is always executed until the end. For this reason and for the reason that it used to work fine before for all of my strategies, I exclude failures in the code. It seems that the next tick is not provided to the tester. The CPU load of the process drops to zero, thus there is no hanging loop. The failure occures independent from the date of the historical data and independent from the selected pairs (only eurusd was always selected), thus I excluded a corrupted data file. Are there any other things I could try to get rid of that failure?


 
 Post subject: Re: Historical Tester Stops Post rating: 0   New post Posted: Thu 28 Jan, 2010, 12:02 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Is there any exceptions in Java console? You can enable java console by going to Control panel-> Java -> advanced tab and selecting always show for java console option


 
 Post subject: Re: Historical Tester Stops Post rating: 0   New post Posted: Fri 29 Jan, 2010, 14:35 

User rating: 0
Joined: Mon 04 Jan, 2010, 19:56
Posts: 9
Okay, I did this. The console says:

29.01.2010 11:54:37.495 SEVERE datacache.ay ] Wrong data from file [C:\Users\***\AppData\Local\Temp\.cache\USDJPY\2009\03\13\01h_ticks.bin], read tick with time [1970.01.01 00:00:00 000], previous tick time [2009.04.13 01:19:56 331]
com.dukascopy.charts.data.datacache.DataCacheException: Wrong data from file [C:\Users\***\AppData\Local\Temp\.cache\USDJPY\2009\03\13\01h_ticks.bin], read tick with time [1970.01.01 00:00:00 000], previous tick time [2009.04.13 01:19:56 331]
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.p.a(Unknown Source)
at com.dukascopy.charts.data.datacache.ay.run(Unknown Source)
at com.dukascopy.charts.data.datacache.r.c(Unknown Source)
at com.dukascopy.dds2.greed.agent.strategy.tester.e$a.run(Unknown Source)
29.01.2010 11:54:37.495 SEVERE tester.e ] Wrong data from file [C:\Users\***\AppData\Local\Temp\.cache\USDJPY\2009\03\13\01h_ticks.bin], read tick with time [1970.01.01 00:00:00 000], previous tick time [2009.04.13 01:19:56 331]
com.dukascopy.charts.data.datacache.DataCacheException: Wrong data from file [C:\Users\***\AppData\Local\Temp\.cache\USDJPY\2009\03\13\01h_ticks.bin], read tick with time [1970.01.01 00:00:00 000], previous tick time [2009.04.13 01:19:56 331]
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.p.a(Unknown Source)
at com.dukascopy.charts.data.datacache.ay.run(Unknown Source)
at com.dukascopy.charts.data.datacache.r.c(Unknown Source)
at com.dukascopy.dds2.greed.agent.strategy.tester.e$a.run(Unknown Source)


However, trying again to run the test passes the particular data point without any problem. Test period was 1.1.2009 until 1.1.2010.


 

Jump to:  

cron
  © 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