I would like to use Upcoming Earnings (Dataset by EOD Historical Data) to get information about upcoming earning call events. It would be great to setup some kind of endpoint to provide a range of the dates as an input and an array of the earning call events with date, ticker, and other details.
Do I need a subscription to make it happen (now I do not have one)?
Please, help me with possible solutions, documentation, etc. Thank you!
Mia Alissi
To use the Upcoming Earnings dataset provided by EOD Historical Data on QuantConnect, you'll need to subscribe to the dataset. Here's a step-by-step guide to help you set up a system to query earnings call events and create an endpoint for date ranges:
Subscription Requirement: Access to the Upcoming Earnings dataset requires a subscription. You can check the specific costs and sign up for the dataset on QuantConnect's dataset listing. This will allow you to integrate the dataset into your trading algorithm.
Adding the Universe: You can add this dataset to your trading algorithm as a universe that automatically updates with upcoming earnings data. Use the method
self.add_universe(EODHDUpcomingEarnings, self.selection_function)
within your algorithm to start receiving data.Data Access: You can access the data in your
on_data
method or request historical data using.history(EODHDUpcomingEarnings, timedelta(days), Resolution.DAILY)
. Here's how you can retrieve and log upcoming earnings in your algorithm:Creating an Endpoint for Dates: While QuantConnect algorithms run on their servers, creating a traditional web endpoint directly from an algorithm isn't straightforward. However, you can simulate similar functionality:
Removing Subscriptions: If you need to remove datasets or clear subscriptions, you can use
self.remove_security(self.dataset_symbol)
to stop receiving data from a specified universe.By following these steps and integrating this structure into your QuantConnect algorithm, you should be able to query and handle upcoming earnings data effectively. It is recommended to review QuantConnect's documentation further for advanced features and customization options specific to your trading needs.
Sources: Upcoming Earnings - QuantConnect.com, Upcoming Splits - QuantConnect.com, Standardized Unexpected Earnings, Custom Data Universe Algorithm, Price And Earnings Momentum
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
Alexandre Catarino
Hi GoDigital ,
You can get Upcoming Earning of a range of dates with a historical data request:
Best regards,
Alex
Â
GoDigital
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!