...ad of for a single company?
Is it possible to download events info using Eikon API on an exchange and event type basis instead of for a single company?
hi @KennethCedric.Gonzales ,
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.
here's an output of the third step