Hi, is there a python method to return a dataframe of all trading dates for an stock exchange, using get_data() ?
Upgrade from Eikon -> Workspace. Learn about programming differences.
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
Thank you for your participation in the forum. Are any of the replies below satisfactory in resolving your query? If yes please click the 'Accept' text next to the reply that best answers your question. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.
Thanks,
-AHS
Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.
Thanks,
-AHS
@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.