Dukascopy
 
 
Wiki JStore Search Login

JFOREX-3583 cache errors
 Post subject: JFOREX-3583 cache errors Post rating: 0   New post Posted: Tue 28 Feb, 2012, 14:31 

User rating: 1
Joined: Thu 23 Feb, 2012, 16:38
Posts: 44
the getBars() Method in IHistory returns wrong bars sometimes. To reproduce the error please do the following steps:

1. Start JForex with a clean cache and no chart opened.
2. load+start the Strategy attached
3. the strategy should print no messages, which means everything is ok.
4. open a chart window on 4H period e.g. USD/CAD
5. change instrument in the chart -> the strategy is generating output which means that getBars does not return the last 2 bars as expected for USD/CAD
if the current time is 14:00 for example, the strategy should receive the 8:00/12:00 bars, but it gets the 0:00/8:00 bars

cache cleaning does not help to fix this problem.


Attachments:
ExampleStrategy.java [2.12 KiB]
Downloaded 343 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: JFOREX-3583 cache errors Post rating: 0   New post Posted: Mon 05 Mar, 2012, 11:53 

User rating: 1
Joined: Thu 23 Feb, 2012, 16:38
Posts: 44
Any updates on this issue?


 
 Post subject: Re: JFOREX-3583 cache errors Post rating: 0   New post Posted: Tue 06 Mar, 2012, 10:22 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
The issue has been registered.


 
 Post subject: Re: JFOREX-3583 cache errors Post rating: 0   New post Posted: Mon 12 Mar, 2012, 14:12 

User rating: 1
Joined: Thu 23 Feb, 2012, 16:38
Posts: 44
Is there any estimated time, when this issue is going to be fixed. This error leads to wrong indicator values and breaks every indicator-based strategy I use.
Testing and developing strategies is impossible, when you cannot rely on the returned data (past bars and indicator values).


 

Jump to:  

cron
  © 1998-2025 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