HI there,
Is there any example of how to get all the non-working days (holidays) in a certain year for a specific currency? For example I want to get all the holidays from 2020 for RON currency. Similar to what is here
Regards,
Joseph
For a deeper look into our Elektron API, look into:
Overview | Quickstart | Documentation | Downloads | Tutorials | Articles
HI there,
Is there any example of how to get all the non-working days (holidays) in a certain year for a specific currency? For example I want to get all the holidays from 2020 for RON currency. Similar to what is here
Regards,
Joseph
Hi @AJoseph
So, have you been through and successfully executed the Websocket API QuickStart and Tutorials?
If so, you can change the RIC code in your JSON request to say 'US/HOLIDAY' instead of the test RICS such a 'TRI.N' in the QuickStart or say 'VOD.L' in the Request Data tutorial for example:
def send_market_price_request(ric_name): """ Create and send simple Market Price request """ mp_req_json = { 'ID': 2, 'Key': { 'Name': 'US/HOLIDAY', }, } web_socket_app.send(json.dumps(mp_req_json))
If you get a Status Message back 'A21: DACS User Profile denied access to vendor' - this means you dont have the correct licence. Please speak to your internal Market Data team or your Refinitiv Account contacts.
Hi @AJoseph
The only country holidays RICS I am aware of are the XX/HOLIDAY RIC e.g US/HOLIDAY , JP/HOLIDAY, GB/HOLIDAY etc. These are Page format and will need scraping / parsing to get the actual dates.
Alternatively, you can contact the Content helpdesk and ask a Content specialist if something better suited to your requirements is available. Select Content type ticket and the relevant an Elektron realtime product.
Hi @Umer Nalla, Thanks for the prompt answer. I'm ok with scrapping/parsing but I don't know how to create a request for these information in the WebSocket API (if possible nevertheless).