nicofr0707 wrote:
I see DAILY_SUNDAY_IN_MONDAY and DAILY_SKIP_SUNDAY are now Deprecated.
Can please support tell us what it is modifying for strategies using it ?
You will need to set the timezone for the Period, this will be documented in the javadocs of the upcoming JForex-SDK release for JForex-API 2.9.10.
nicofr0707 wrote:
Which default timezone is now used for daily Bars ?
Period.DAILY.
nicofr0707 wrote:
For instance, to get daily bars we used :
history.getBar(instrument, Period.DAILY_SUNDAY_IN_MONDAY, OfferSide.BID, shift);
now it should be :
history.getBar(instrument, Period.DAILY, OfferSide.BID, shift);
How do we set the timezone on UTC+2 in order to avoid the Sunday bar ?
You can still use the Period.DAILY_SUNDAY_IN_MONDAY from API, but you won't be able to see the same feed in the platform.