Dukascopy Support Board
http://www.dukascopy.com/swiss/english/forex/jforex/forum/

Different close price in historical bars on same bar
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=16&t=56427
Page 1 of 1

Author:  GeniuZ [ Tue 10 Apr, 2018, 14:31 ]
Post subject:  Different close price in historical bars on same bar

Depends on backtest start date, getBars() returns different close price on same bar, tested on EURUSD, java attached.

How to reproduce:
1) Start backtest from 29.11.2016, close price is 1.06182 on bar 28.11.2016 23:59
2) Start backtest from 30.11.2016, close price is 1.06189 on bar 28.11.2016 23:59

You can see difference on close price on same bar:
Image

Attachments:
DifferentBarPrice.png [5.97 KiB]
Downloaded 315 times
DifferentBarPrice.java [1.58 KiB]
Downloaded 166 times

Author:  API Support [ Wed 11 Apr, 2018, 12:23 ]
Post subject:  Re: Different close price in historical bars on same bar

We cannot reproduce issue:

Image

Check please again, maybe you use some specific parameters?

Attachments:
differentPriceBar.JPG [24.08 KiB]
Downloaded 317 times

Author:  GeniuZ [ Fri 13 Apr, 2018, 09:33 ]
Post subject:  Re: Different close price in historical bars on same bar

I see error in your parameters, you use year 2017, please use 2016.

Author:  API Support [ Mon 14 May, 2018, 17:56 ]
Post subject:  Re: Different close price in historical bars on same bar

Thanks for the feedback. Issue will be fixed in next release.

  Page 1 of 1