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.

Capturing opening time for all Instruments and offline time
 Post subject: Capturing opening time for all Instruments and offline time Post rating: 0   Post Posted: Mon 16 Feb, 2015, 12:37 
User avatar

User rating: 0
Joined: Tue 27 Jan, 2015, 14:37
Posts: 11
Location: ItalyItaly
Hi
I'm trying identify with java code opening hours for each Instrument, I need to "translate in code" the following page;

https://www.dukascopy.com/swiss/english ... unts/link/

I seen some examples that works with markets opening hours, but none of it use an API feature, all are self-coding based..

I found context.getDataService().getOfflineTimeDomain() method that give me hints about closing time, but I'm not sure it works with all instruments/currencies.

And I found nothing that enables my strats to identify for each Instrument and winter/summer period a way to handle this behaviour with no needs to write customized code.

Please give me some hints.

Thanks


 
 Post subject: Re: Capturing opening time for all Instruments and offline time Post rating: 0   Post Posted: Fri 20 Feb, 2015, 10:18 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
It is not planned to provide trade hours for individual instruments in the JForex API.


 

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