For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 2

Trading Calendar For An Exchange

Hi, is there a python method to return a dataframe of all trading dates for an stock exchange, using get_data() ?

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythoncalendar
icon clock
10 |1500

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

Upvotes
Accepted
39.2k 75 11 27

@yongks
Trading calendars for exchanges are not currently available through any Eikon APIs.

icon clock
10 |1500

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

Upvotes
18k 21 12 20

You can get "text" information on a given country.

Please check the RIC code on Eikon Desktop by open HOLIDAY, HOLIDAY2, HOLIDAY3, HOLIDAY4

For example, Japan.

Sample code:

df,err=ek.get_data(['JP/HOLIDAY'], ['ROW80_5','ROW80_6'])

ahs1.png (55.1 KiB)
ahs2.png (85.7 KiB)
icon clock
10 |1500

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

Is it possible to get for specific year, say 2015 ?

Upvotes
1 0 0 2

Tks for the tips. Is it possible to retrieve info for specific year ? say 2015 ?

icon clock
10 |1500

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

Hi @yongks

I could not find the holiday data in the past.

You can contact Refinitiv content helpdesk at https://my.refinitiv.com/ to get an authoritative answer on the content question.

Click below to post an Idea Post Idea