question

Upvotes
Accepted
1 1 1 1

Is there a way to get holiday calendar for markets (instrumen wise or general) using Java API?

Hi,


We are looking to monitor a specified set of RICs if rates don't come in for a specified amount of time. However, we want to exclude holidays for this purpose. Is there a Java API to get holiday calendar for thios purpose? Any help would be appreciated

elektronrefinitiv-realtimeelektron-sdkema-apirrtelektron-message-apiricsjavamarket-holidaysholiday
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvote
Accepted
78.1k 246 52 72

@ahodlursuryakantha1

With the Realtime APIs, you can get holidays by subscribing to page records <HOLIDAYS>. This page contains RICs representing holidays of each country. For example, <TH/HOLIDAY> lists the public and exchange holidays for Thailand.

The text data is available in ROW80_1 to ROW80_25 fields. Therefore, the application needs to parse this text to retrieve the holidays.

For more information, please refer to the How to parse page-based data using Elektron SDK Java article. You can also directly contact the content team via MyRefinitiv for the formats of these holidays page records.


1598848888704.png (84.8 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Thank you. I see the response is country based holidays. Is there a way to obtain FX currency based holidays directly rather than we having to maintain a map between currency and country?

@ahodlursuryakantha1

To add, from my understanding, we can not get FX currency based holidays directly from Elektron Real-Time feed. The FX instruments are OTC traded and hence there are no holidays for FX markets. If it is a holiday in a particular country/region, there will be some contributions from other countries/regions. On common holidays you might notice less liquidity. Therefore you need to know a country for the currency and then use it to get the holidays page as Jirapongse said. You may also double-check with the content team about the RIC.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.