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?
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.