Dukascopy Support Board http://www.dukascopy.com/swiss/english/forex/jforex/forum/ |
|
Question on local history cache http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=65&t=54237 |
Page 1 of 1 |
Author: | Diestill [ Fri 05 Aug, 2016, 02:19 ] |
Post subject: | Question on local history cache |
I use third-party software to download history data (.bi5) in the hope of speed up the testing process. I did not put them in the same folder with Jforex's folder but in C:\temp. However, i discovered that when i run history tester using Netbeans, it will delete all the data i downloaded and download again, which defeats my purpose. I tried to comment out Future<?> future = client.downloadData(null); and future.get(); these two lines, and the tester stops deleting my cahe. But, it is now stuck forever at "getting prices before start price". I went into the cache folder and discovered that tester is writing a bi5.lck file for every bi5 file in there, when it finished the process, nothing happens though. May i know what's wrong? or the system prohibits the use of cache downloaded via third-party software? |
Author: | API Support [ Mon 15 Aug, 2016, 10:19 ] |
Post subject: | Re: Question on local history cache |
If version.txt and pr_version.txt files are not present, the cache directories will get deleted. So it could help to add the external cache data into the existing cache folder. |
Author: | Diestill [ Mon 22 Aug, 2016, 07:45 ] |
Post subject: | Re: Question on local history cache |
thanks for the reply... i tried to open version.txt and pr_version.txt, inside is only a number "5" written. Did you mean that i have to copy these two files from JForex's .Cache folder to my c:\temp in order for the tester to read the historical cache there? |
Author: | Diestill [ Tue 23 Aug, 2016, 12:15 ] |
Post subject: | Re: Question on local history cache |
i included that two text files in my folder...but the tester is stuck at "Getting prices before start time".... |
Page 1 of 1 |