["startdatetime", "companyshortname", "epsactual", "epsestimate",
"gmtOffsetMilliSeconds", "quoteType", "ticker", "trading_time"]
earnings_df = earnings_df[final_columns]
Hi,
Here are a few data providers you can try to get the earnings data from:
- Alpha Vantage: You can register and get the API key for Alpha Vantage. You can fetch the annual and quarterly earnings data here. Please refer to this link to read more.
- You can also fetch the financials of any stock through yfinance. These statements consist of EPS too. Click here to read more.
- Quandl does provide NSE data, including earnings data for all stocks but only if you have a paid subscription.
Please note, to get the desired columns in your dataset, some of these fields might require customisation.
Hope this helps!
Thanks
Rushda