alvarobartt / investpy

Financial Data Extraction from Investing.com with Python
https://investpy.readthedocs.io/
MIT License
1.59k stars 374 forks source link

Added new function for downloading Earnings Calendar data #576

Open nicolasakf opened 2 years ago

nicolasakf commented 2 years ago

Renamed news.py module to calendar.py Added new function "convert_abbreviations_to_number" to utils/extra.py module Added new function "earnings_calendar" to calendars.py module

nicolasakf commented 2 years ago

This still needs some fixing... I couldn't make it retrieve the entire table for a given date range - I believe it has something to do with the "limit_from" param in the request, just like in the economic_calendar function, but for some reason, the logic used in the second doesn't work for this first