Hi, is there a python method to return a dataframe of all trading dates for an stock exchange, using get_data() ?
For a deeper look into our Eikon Data API, look into:
Overview | Quickstart | Documentation | Downloads | Tutorials | Articles
Hi, is there a python method to return a dataframe of all trading dates for an stock exchange, using get_data() ?
@yongks
Trading calendars for exchanges are not currently available through any Eikon APIs.
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'])
Tks for the tips. Is it possible to retrieve info for specific year ? say 2015 ?
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.