Summary
Keywords
Full Transcript
@MattMacarty ## 🐍 Python Financial Events: Find Stocks Announcing Earnings or Dividends (EOD API) | Part 8 Welcome to Part 8 of the **Python Stock Analysis Course**! This video goes beyond simple price data and dives into fetching crucial **corporate event data** from the **EOD Historical Data API**. You will learn how to write functions to identify companies that are about to announce **Earnings** or have an upcoming **Dividend Ex-Date**. A key focus of this video is learning how to **filter global API results** down to a specific exchange (e.g., U.S. markets) using simple Python string manipulation. ### 🎯 Key Learning Outcomes: 1. **Earnings Calendar:** Write a function to fetch the list of all companies globally reporting **Earnings** this week. 2. **Global Data Filtering:** Implement logic to filter the global list of earnings announcements down to only **U.S.-listed stocks** (by checking for the exchange suffix on the symbol/code). 3. **Dividend Data:** Learn how to use the API's **`get_bulk_markets`** endpoint to specifically request a list of all stocks on a given exchange (e.g., US) that have a **Dividend Ex-Date** on a specified day. 4. **Data Structure Review:** Understand the key data points returned for dividends, such as the rate, currency, and payout frequency. ### ⏱️ Video Chapters (Jump Ahead!): 0:00 - Introduction (Focus on Events: Earnings & Dividends) 0:46 - **Function 1: Getting Companies Reporting Earnings This Week** 1:01 - Downloading Global Earnings Data with the API Client 1:28 - **Filtering Global Results to U.S. Stocks Only** (Checking for `.US` suffix) 2:33 - Testing the Earnings Function and Reviewing the Count 3:24 - **Function 2: Getting Dividends for a Specific Ex-Date** 3:50 - Using the **`get_bulk_markets`** Endpoint for Events 4:38 - Testing the Dividend Function and Reviewing the Data 5:23 - Preview of Part 9: Building a simple **Stock Screener** ### 🔗 Course Series & Resources: * **Part 7 (Performance Grid):** [https://youtu.be/lqeGdfprKn0](https://youtu.be/lqeGdfprKn0) * **Get the Code:** https://github.com/mjmacarty/python-stock-analysis ***Disclaimer: This video is for educational purposes only. The information provided should not be construed as investment advice. *** \#PythonForFinance \#StockEarnings \#DividendExDate \#EODHistoricalData \#APIFiltering \#CorporateEvents \#DataAcquisition \#Part8
