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

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    @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.

    image

    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.

Answers