Dukascopy
 
 
Wiki JStore Search Login

APICLIENT-135 IBar getBar problem since last update
 Post subject: APICLIENT-135 IBar getBar problem since last update Post rating: 0   New post Posted: Tue 19 Jun, 2012, 06:03 
User avatar

User rating: 0
Joined: Fri 18 Nov, 2011, 16:19
Posts: 8
Location: NetherlandsNetherlands
Hello,
Since the last demo update I am now getting this message whenever my strategy tries to read something from the history:

04:53:53 Strategy tester: com.dukascopy.api.JFException: Could not load bar for instrument [EUR/JPY], period [4 Hours], side [Ask], start time [2011.05.30 00:00:00 000], current bar start time [2011.06.02 08:00:00 000] @ haStackedOpt.setHA(haStackedOpt.java:200)

Line 200:
IBar hbar = history.getBar(instrument, period, OfferSide.ASK, 20);

Also, has the heikinashi Indicator call been fixed? The values it returns do not match up with what the indicator displays.


 
 Post subject: Re: APICLIENT-135 IBar getBar problem since last update Post rating: 0   New post Posted: Tue 19 Jun, 2012, 15:08 
User avatar

User rating: 0
Joined: Fri 18 Nov, 2011, 16:19
Posts: 8
Location: NetherlandsNetherlands
Here is the log from the Java console.

com.dukascopy.api.JFException: Could not load bar for instrument [EUR/JPY], period [4 Hours], side [Ask], start time [2011.05.28 20:00:00 000], current bar start time [2011.06.01 04:00:00 000]
at com.dukascopy.api.impl.j.a(Unknown Source)
at com.dukascopy.api.impl.j.getBar(Unknown Source)
at haStackedOpt.setHA(haStackedOpt.java:200)
at haStackedOpt.onBar(haStackedOpt.java:222)
at com.dukascopy.dds2.greed.agent.strategy.tester.b.a(Unknown Source)
at com.dukascopy.dds2.greed.agent.strategy.tester.u.run(Unknown Source)
at com.dukascopy.dds2.greed.agent.strategy.tester.b.a(Unknown Source)
at com.dukascopy.dds2.greed.actions.StrategyTesterAction.zj(Unknown Source)
at com.dukascopy.dds2.greed.actions.StrategyTesterAction.yJ(Unknown Source)
at com.dukascopy.dds2.greed.actions.c.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


 
 Post subject: Re: APICLIENT-135 IBar getBar problem since last update Post rating: 0   New post Posted: Wed 20 Jun, 2012, 12:34 
User avatar

User rating: 0
Joined: Fri 18 Nov, 2011, 16:19
Posts: 8
Location: NetherlandsNetherlands
After this morning's platform update the problem seems to be resolved.

As has been suggested by others, a BETA Demo where fancy new features can be tested would spare your loyal, long term clients bucket loads of headaches in the future.


 

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