but it has started returning an exception when I run it:
com.dukascopy.api.JFException: Could not load bar for instrument [EUR/USD], period [Hourly], side [Bid], start time [2011.10.04 10:00:00 000], current bar start time [2011.10.04 11:00:00 000] at com.dukascopy.api.impl.h.a(Unknown Source) at com.dukascopy.api.impl.h.getBar(Unknown Source) at james16.PinBar_v1_0.checkForOpenOrderCondition(PinBar_v1_0.java:344) at james16.PinBar_v1_0.checkForNewOrders(PinBar_v1_0.java:248) at james16.PinBar_v1_0.onBar(PinBar_v1_0.java:404) at com.dukascopy.dds2.greed.agent.strategy.tester.b.a(Unknown Source) at com.dukascopy.dds2.greed.agent.strategy.tester.t.run(Unknown Source) at com.dukascopy.dds2.greed.agent.strategy.tester.b.a(Unknown Source) at com.dukascopy.dds2.greed.actions.StrategyTesterAction.yK(Unknown Source) at com.dukascopy.dds2.greed.actions.StrategyTesterAction.yk(Unknown Source) at com.dukascopy.dds2.greed.actions.c.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:680)
might not be the real reason but last two days I observed occasional outages of historical data server. I have a strategy which ensures that it starts only when it receives full 30min bar in onBar call, even trying to repeat this for several times. It failed miserably the whole European afternoon yesterday for example...
Apparently there had been a temporary datacache problem. If the problem does persist, please delete your local cache, such that the data can get reloaded from the data-feed server.