API Support wrote:
- If your program uses some parameters, please describe with which parameters it should get launched.
- If the program has to be launched multiple times, please describe the run order.
- If the program does not give itself the errors that you report as error statements (as it is done, for example, in the case that we provided) then please describe how otherwise program demonstrates the error.
- We do all the testing in DEMO environment.
run on Linux:
[1] java -Djforex.username=usernameRealAccount -Djforex.password=passwordRealAccount -classpath "/path/to/test.jar:/path/to/dukascopy_libs/*" trader.brokers.dukascopy.test.Main -writerOnTick
[2] java -Djforex.username=usernameRealAccount -Djforex.password=passwordRealAccount -classpath "/path/to/test.jar:/path/to/dukascopy_libs/*" trader.brokers.dukascopy.test.Main -writerReadTicks
second command [2] run after one day if files are equal run after 7 days
$cd /path/to/dukascopy_libs
$find *
7zip-4.65.jar
activation-1.1.jar
commons-lang3-3.0.1.jar
DDS2-Charts-6.16.jar
dds2-common-2.5.29.jar
DDS2-jClient-JForex-2.36.jar
DDS2-TextEditor-1.21.jar
ecj-3.5.2.jar
greed-common-310.jar
jakarta-oro-2.0.8.jar
jakarta-regexp-1.4.jar
jcalendar-1.3.3.jar
JForex-API-2.9.10.jar
JForex-API-2.9.10-sources.jar
jna-3.5.0.jar
lucene-core-3.4.0.jar
lucene-highlighter-3.4.0.jar
lucene-memory-3.4.0.jar
lucene-queries-3.4.0.jar
mail-1.4.jar
mina-core-1.1.7.jar
mina-filter-ssl-1.1.7dc.1.jar
MQL4Connector-2.9.10.jar
MQL4Converter-2.43.jar
msg-0.0.19.jar
patterns-1.36.jar
slf4j-api-1.7.5.jar
ta-lib-0.4.4dc.jar
transport-client-2.5.8.jar
transport-common-0.5.1.jar
application creates "test_data" dir in current working directory, in this directory will be saved ticks
$cd test_data
$ls -l
-rw-r--r-- 1 user user 240 Sep 2 09:58 newConnection-EURUSD-2014-09-02 07:58:09.169.csv
-rw-r--r-- 1 user user 240 Sep 2 16:14 newConnection-EURUSD-2014-09-02 07:58:09.169.csv.readTicks.csv
-rw-r--r-- 1 user user 1473 Sep 2 09:59 newConnection-EURUSD-2014-09-02 07:59:15.666.csv
-rw-r--r-- 1 user user 1473 Sep 2 16:14 newConnection-EURUSD-2014-09-02 07:59:15.666.csv.readTicks.csv
-rw-r--r-- 1 user user 823748 Sep 2 16:13 newConnection-EURUSD-2014-09-02 08:07:06.851.csv
-rw-r--r-- 1 user user 823710 Sep 2 16:14 newConnection-EURUSD-2014-09-02 08:07:06.851.csv.readTicks.csv
files *.csv are created by first command [1]
files *.csv.readTicks.csv are created by second command [2]
$cd test_data
$sha256sum *
files hash x.csv and x.csv.readTicks.csv should be equal if not then run
$diff -u "newConnection-EURUSD-2014-09-02 08:07:06.851.csv" "newConnection-EURUSD-2014-09-02 08:07:06.851.csv.readTicks.csv"
then You will have output:
--- "newConnection-EURUSD-2014-09-02 08:07:06.851.csv" 2014-09-02 16:13:42.000000000 +0200
+++ "newConnection-EURUSD-2014-09-02 08:07:06.851.csv.readTicks.csv" 2014-09-02 16:14:11.000000000 +0200
@@ -1066,8 +1066,6 @@
2014-09-02 08:29:23.004,1.31309,1.31311
2014-09-02 08:29:25.582,1.3131,1.31313
2014-09-02 08:29:25.633,1.31311,1.31316
-2014-09-02 08:29:25.888,1.31315,1.31318
-2014-09-02 08:29:25.990,1.31317,1.3132
2014-09-02 08:29:26.345,1.31319,1.31322
2014-09-02 08:29:26.395,1.3132,1.31322
2014-09-02 08:29:26.700,1.3132,1.31323
@@ -1801,7 +1799,6 @@
2014-09-02 08:37:23.469,1.31223,1.31227
2014-09-02 08:37:23.873,1.31223,1.31225
2014-09-02 08:37:23.975,1.31223,1.31225
-2014-09-02 08:37:24.128,1.3122,1.31223
2014-09-02 08:37:24.635,1.31221,1.31223
2014-09-02 08:37:25.143,1.3122,1.31223
2014-09-02 08:37:25.761,1.3122,1.31224
@@ -2473,6 +2470,7 @@
2014-09-02 08:45:00.586,1.31178,1.31181
2014-09-02 08:45:01.256,1.31178,1.3118
2014-09-02 08:45:02.812,1.31176,1.31179
+2014-09-02 08:45:02.914,1.31176,1.31178
2014-09-02 08:45:02.965,1.31176,1.31178
2014-09-02 08:45:03.118,1.31179,1.3118
2014-09-02 08:45:03.321,1.31177,1.31179
@@ -5625,7 +5623,6 @@
2014-09-02 09:33:59.536,1.31129,1.31131
2014-09-02 09:34:00.583,1.3113,1.31131
2014-09-02 09:34:07.370,1.31129,1.31131
-2014-09-02 09:34:07.943,1.3113,1.31131
2014-09-02 09:34:08.501,1.31129,1.31131
2014-09-02 09:34:09.019,1.3113,1.31131
2014-09-02 09:34:09.527,1.31129,1.31131
@@ -8844,7 +8841,6 @@
2014-09-02 10:34:08.252,1.31165,1.31167
2014-09-02 10:34:10.954,1.31165,1.31168
2014-09-02 10:34:11.473,1.31165,1.31167
-2014-09-02 10:34:11.995,1.31165,1.31168
2014-09-02 10:34:16.756,1.31166,1.31168
2014-09-02 10:34:17.060,1.31167,1.3117
2014-09-02 10:34:17.567,1.31169,1.3117
@@ -9359,7 +9355,6 @@
2014-09-02 10:45:58.174,1.31171,1.31174
2014-09-02 10:45:58.684,1.31171,1.31174
2014-09-02 10:46:00.374,1.31171,1.31173
-2014-09-02 10:46:00.917,1.31171,1.31174
2014-09-02 10:46:04.284,1.31173,1.31175
2014-09-02 10:46:04.790,1.31174,1.31176
2014-09-02 10:46:04.841,1.31176,1.31177
@@ -13460,7 +13455,6 @@
2014-09-02 12:23:03.543,1.31151,1.31155
2014-09-02 12:23:04.657,1.31153,1.31155
2014-09-02 12:23:06.964,1.31152,1.31154
-2014-09-02 12:23:07.470,1.31151,1.31154
2014-09-02 12:23:08.067,1.31152,1.31154
2014-09-02 12:23:08.471,1.3115,1.31154
2014-09-02 12:23:08.623,1.31152,1.31154
@@ -13494,7 +13488,6 @@
2014-09-02 12:23:30.315,1.31162,1.31166
2014-09-02 12:23:30.821,1.31163,1.31166
2014-09-02 12:23:31.851,1.31164,1.31166
-2014-09-02 12:23:37.219,1.31165,1.31167
2014-09-02 12:23:37.725,1.31165,1.31166
2014-09-02 12:23:39.093,1.31164,1.31166
2014-09-02 12:23:40.801,1.31164,1.31166
@@ -13793,6 +13786,7 @@
2014-09-02 12:28:04.767,1.3116,1.31165
2014-09-02 12:28:06.694,1.31161,1.31164
2014-09-02 12:28:06.998,1.31165,1.31168
+2014-09-02 12:28:07.049,1.31167,1.3117
2014-09-02 12:28:07.100,1.31168,1.3117
2014-09-02 12:28:07.354,1.31172,1.31175
2014-09-02 12:28:07.405,1.31172,1.31175
@@ -18126,6 +18120,7 @@
2014-09-02 13:42:12.659,1.3124,1.31242
2014-09-02 13:42:13.178,1.31237,1.31241
2014-09-02 13:42:13.279,1.31236,1.31238
+2014-09-02 13:42:13.381,1.31233,1.31236
2014-09-02 13:42:13.432,1.31234,1.31235
2014-09-02 13:42:13.533,1.31232,1.31234
2014-09-02 13:42:13.635,1.31232,1.31234
@@ -18258,6 +18253,7 @@
2014-09-02 13:44:06.230,1.3126,1.31262
2014-09-02 13:44:06.533,1.31264,1.31267
2014-09-02 13:44:06.736,1.31266,1.31269
+2014-09-02 13:44:06.889,1.31269,1.31271
2014-09-02 13:44:06.940,1.3127,1.31273
2014-09-02 13:44:07.041,1.31271,1.31273
2014-09-02 13:44:07.294,1.3127,1.31274
@@ -18335,7 +18331,6 @@
2014-09-02 13:45:06.621,1.31254,1.31256
2014-09-02 13:45:07.127,1.31254,1.31257
2014-09-02 13:45:07.633,1.31254,1.31256
-2014-09-02 13:45:07.886,1.31251,1.31254
2014-09-02 13:45:08.392,1.31252,1.31255
2014-09-02 13:45:14.183,1.31253,1.31255
2014-09-02 13:45:14.689,1.31253,1.31256
@@ -19230,6 +19225,8 @@
2014-09-02 14:00:02.493,1.3119,1.31202
2014-09-02 14:00:02.798,1.31192,1.31198
2014-09-02 14:00:02.950,1.3119,1.31202
+2014-09-02 14:00:03.001,1.31191,1.31204
+2014-09-02 14:00:03.102,1.31195,1.31205
2014-09-02 14:00:03.153,1.31195,1.31207
2014-09-02 14:00:03.255,1.31195,1.31205
2014-09-02 14:00:03.560,1.31198,1.31208
@@ -19373,6 +19370,8 @@
2014-09-02 14:00:34.821,1.31201,1.31203
2014-09-02 14:00:34.923,1.31203,1.31207
2014-09-02 14:00:35.278,1.31203,1.31209
+2014-09-02 14:00:35.380,1.31206,1.31212
+2014-09-02 14:00:35.432,1.31206,1.31209
2014-09-02 14:00:35.484,1.31205,1.31208
2014-09-02 14:00:35.586,1.31204,1.31208
2014-09-02 14:00:36.098,1.31204,1.31207