Hello,
I hope to run "GUIModeChartTypes.java" (at
https://www.dukascopy.com/wiki/#JForex_S ... hart_theme)
on JForex-API 2.9.4.1, Demo Account
When "TIME_PERIOD_AGGREGATION" selected -> works fine!
However, when "TICK_BAR" selected, it doesn't work...
I suspected that requesting historical data was too large size,
so I tried to use client.setDataInterval() method to set very short period(about 2 hour),
but result was changed nothing
What's the best way to go?
-------------------------
2013-11-04 23:30:25.256 INFO StrategyTester - Connected
2013-11-04 23:30:25.256 INFO StrategyTester - Subscribing instruments...
2013-11-04 23:30:25.257 INFO StrategyTester - Downloading data
2013-11-04 23:30:28.616 INFO StrategyTester - Starting strategy
2013-11-04 23:30:29.021 INFO StrategyTester - Strategy started: 1
2013-11-04 23:30:31.117 INFO StrategyTester - dataLoaded Getting prices before start time
2013-11-04 23:30:31.118 INFO StrategyTester - Pause execution for max 300 secs till chart gets loaded. For quicker loading please decrease currentChart.getBarsCount() - manually decrease chart's horizontal scale.
2013-11-04 23:30:31.134 INFO StrategyTester - dataLoaded Creating data loading threads
2013-11-04 23:30:31.149 INFO StrategyTester - dataLoaded Getting prices before start time
2013-11-04 23:30:31.215 WARN WLabelData - White Label Image is not received
2013-11-04 23:30:31.227 INFO StrategyTester - dataLoaded Filling in-progress candles
2013-11-04 23:30:31.385 INFO StrategyTester - Min price=0.00000, bar count on chart=227, time left=300 secs
2013-11-04 23:30:31.642 INFO StrategyTester - dataLoaded Executing onStart
Started
2013-11-04 23:30:31.656 INFO StrategyTester - dataLoaded Running
2013-11-04 23:30:32.385 INFO StrategyTester - Min price=0.00000, bar count on chart=227, time left=299 secs
2013-11-04 23:30:33.385 INFO StrategyTester - Min price=0.00000, bar count on chart=227, time left=298 secs
... (an omission)
2013-11-04 23:32:11.279 WARN AbstractLoadNumberOfPriceAggregationAction - Can not wait so much time for in prgress bar is being created for - EUR/USD Ticks Bid 3
2013-11-04 23:32:11.279 ERROR AbstractLoadNumberOfPriceAggregationAction - Unable to retrieve in progress bar for EUR/USD Ticks Bid 3
java.lang.IllegalStateException: Unable to retrieve in progress bar for EUR/USD Ticks Bid 3
at com.dukascopy.charts.data.datacache.priceaggregation.AbstractLoadNumberOfPriceAggregationAction.run(AbstractLoadNumberOfPriceAggregationAction.java:163)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
2013-11-04 23:32:11.404 INFO StrategyTester - Min price=0.00000, bar count on chart=227, time left=200 secs
2013-11-04 23:32:12.404 INFO StrategyTester - Min price=0.00000, bar count on chart=227, time left=199 secs
2013-11-04 23:32:13.405 INFO StrategyTester - Min price=0.00000, bar count on chart=227, time left=198 secs
... (an omission)
2013-11-04 23:35:30.524 INFO StrategyTester - Min price=0.00000, bar count on chart=227, time left=1 secs
2013-11-04 23:35:31.524 INFO StrategyTester - Chart loaded after 300 secs. Please press continue.
-------------------------
It say "Chart loaded after 300 secs. Please press continue."
I press continiue
but it doesn't start rendering chart.
Sorry for my poor English.
Please help me.