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.

Determine if market is open
 Post subject: Determine if market is open Post rating: 0   New post Posted: Tue 09 Dec, 2014, 07:21 
User avatar

User rating: 11
Joined: Tue 27 Mar, 2012, 17:47
Posts: 111
Location: GermanyGermany
Hello support,

is there an easy way to determine if the market is open?
Why is there no direct API method to do so?
Also, is there an easy way to get the server time?

Thanks,
Juergen


 
 Post subject: Re: Determine if market is open Post rating: 0   New post Posted: Tue 09 Dec, 2014, 09:02 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
This wiki page has examples of how to determine if the market is open: https://www.dukascopy.com/wiki/#Market_Hours

IHistory.getTimeOfLastTick will give you the server time.


 

Jump to:  

  © 1998-2026 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