Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Submit JForex API bug reports in this forum only.
    Submit Converter issues in Converter Issues.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

Renko getTime is incorrect, please fix
 Post subject: Renko getTime is incorrect, please fix Post rating: 0   New post Posted: Fri 22 Jan, 2016, 12:01 

User rating: 0
Joined: Fri 04 Apr, 2014, 16:35
Posts: 50
Location: Monaco, Monte-Carlo
Hello,
I have noticed that the time the system returns for Renko bricks is always incorrect. The system always returns the time of the previously formed brick as opposed to that of the most recent one.
I have attached working code for you to confirm this on your end.
If you check the output of the code you will see that the time the message is output (i.e. on the left hand side) does not correspond to the time returned for the time of the renko brick within the message. If you let the code run for a couple of bricks you can clearly see that the time is always for the previously formed renko brick.

Please can this be fixed.


Attachments:
RenkoTime.java [4.64 KiB]
Downloaded 188 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: Renko getTime is incorrect, please fix Post rating: 0   New post Posted: Wed 27 Jan, 2016, 10:32 

User rating: 0
Joined: Fri 04 Apr, 2014, 16:35
Posts: 50
Location: Monaco, Monte-Carlo
Hi Support,

Have you been able to replicate this on your side?


 
 Post subject: Re: Renko getTime is incorrect, please fix Post rating: 0   New post Posted: Tue 02 Feb, 2016, 16:18 

User rating: 0
Joined: Fri 04 Apr, 2014, 16:35
Posts: 50
Location: Monaco, Monte-Carlo
Hi Support,

Do you have a patch for this?


 
 Post subject: Re: Renko getTime is incorrect, please fix Post rating: 0   New post Posted: Mon 08 Feb, 2016, 16:29 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
There is no problem. Renko bars do not have in progress bars (with index 0). This means that onFeedData() received bar with index 1, the bar that has finished.


 
 Post subject: Re: Renko getTime is incorrect, please fix Post rating: 0   New post Posted: Tue 09 Feb, 2016, 10:58 

User rating: 0
Joined: Fri 04 Apr, 2014, 16:35
Posts: 50
Location: Monaco, Monte-Carlo
Sorry but I do not agree with this at all. I know renko bars have no in progress bar. How can the getTime() not be the same as the message posted time? Surely the getTime should be the time that the renko bar appears on screen, i.e. the same as the message posted time. The way it is at the moment getTime() returns the time for the previously formed brick. Please see the output from the code I attached in my first message below:

09:49:01 Latest Renko brick was formed at time of 2016-02-09 09:46:13:013
09:49:01 Previous Renko brick was formed at time of 2016-02-09 09:45:18:018
09:46:13 Latest Renko brick was formed at time of 2016-02-09 09:45:18:018
09:46:13 Previous Renko brick was formed at time of 2016-02-09 09:44:50:050

Please explain to me how a renko brick which appears on screen at 09:49:01 can have a getTime() of 09:46:13.


 
 Post subject: Re: Renko getTime is incorrect, please fix Post rating: 0   New post Posted: Fri 04 Mar, 2016, 16:53 

User rating: 0
Joined: Fri 04 Apr, 2014, 16:35
Posts: 50
Location: Monaco, Monte-Carlo
Hi support,

Do you have any response to the above?


 
 Post subject: Re: Renko getTime is incorrect, please fix Post rating: 0   New post Posted: Wed 09 Mar, 2016, 14:05 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
There is no problem with renko bars.


 

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