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.

Is market open?
 Post subject: Is market open? Post rating: 0   New post Posted: Tue 28 Oct, 2014, 12:29 

User rating: 2
Joined: Fri 17 May, 2013, 06:58
Posts: 76
Location: SwedenSweden
Hi,

When my onBar() method is called with an one_hour bar: is the market always open some time afterwards so that I can open a new order? If not, what will happen to my order?

Thanks.

Kind Regards,
Henrik


 
 Post subject: Re: Is market open? Post rating: 0   New post Posted: Tue 28 Oct, 2014, 12:39 

User rating: 2
Joined: Fri 17 May, 2013, 06:58
Posts: 76
Location: SwedenSweden
Hi again,

Also, what about the daily bar? When is the daily bar broadcasted, and is the market open some time afterwards?

Thanks.

Kind Regards,
Henrik


 
 Post subject: Re: Is market open? Post rating: 0   New post Posted: Tue 28 Oct, 2014, 17:11 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Hour bar example:
Market closes for given instrument at 22:00 GMT. You will receive one hour bar with start time 21:00 GMT approximately at 22:00 GMT, but not earlier than 22:00 GMT when the bar ends. Actual time of delivery will be something like 22:00:00:322 as there is some milliseconds delay for bar to get calculated on our server and delivered to your PC. So at the time when onBar method for 21:00 GMT bar will be invoked, market will be already closed and if your strategy will try to submit order at that point it will be rejected.

Similarly 28.10.2014 daily bar (which starts 28.10.2014 00:00 GMT) will be delivered approximately 29.10.2014 00:00 GMT.

Also see "Trading hours" section here: https://www.dukascopy.com/swiss/english/ ... unts/link/


 

Jump to:  

  © 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