Dukascopy
 
 
Wiki JStore Search Login

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

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

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

How to change daily final time to EET,GMT+3
 Post subject: How to change daily final time to EET,GMT+3 Post rating: 0   New post Posted: Tue 13 May, 2014, 15:42 
User avatar

User rating: 0
Joined: Fri 29 Mar, 2013, 17:33
Posts: 9
dear support ,I need your help,How to change daily final time to EET, in my strategy.The daily final time will be GMT+3.
i code as such,but it run wrong:

@Configurable("Time zone")
public String timeZone = "EET";

can you help me?

3Ks


 
 Post subject: Re: How to change daily final time to EET,GMT+3 Post rating: 0   New post Posted: Wed 14 May, 2014, 14:02 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Period.createCustomPeriod(Unit.Day, 7, JFTimeZone.EET);
Currently there are only 2 used timezones, therefore you could add a boolean variable isGMT and in case of true use JFTimeZone.UTC, else - use JFTimeZone.EET. The timezones will get more thoroughly documented with the next JForex-SDK release.


 

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