Is it possible to download events info using Eikon API on an exchange and event type basis instead of for a single company?
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
Is it possible to download events info using Eikon API on an exchange and event type basis instead of for a single company?
Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?
If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.
Thanks,
AHS
Hello @KennethCedric.Gonzales ,
Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.
Thanks,
-AHS
You may consider using a formula exported from the SCREENER app to retrieve the company list in each exchange then use Eikon get_data function to retrieve event of these company, then filter an event type in the output dataframe with python code, for example
df, err = ek.get_data('SCREEN(U(IN(Equity(active,public,primary))), IN(TR.ExchangeCountryCode,"PH"), CURN=USD)' ,['TR.CommonName','TR.ExchangeCountry']) df
rics_list = df['Instrument'].tolist()
event_df, err = ek.get_data(rics_list ,['TR.CommonName','TR.EventStartDate','TR.EventType','TR.EventTitle']) event_df
Please let me know in case you have any further questions.