@MattMacarty
🐍 Python Stock Analysis Course Part 1: Get ALL Stock Tickers on an Exchange (NYSE/NASDAQ) via API to Pandas
Welcome to Part 1 of the *Python Stock Analysis Course**! This foundational video shows you how to take the crucial first step for any financial application: **acquiring a full, current list of stock tickers* (metadata) for a major exchange.
We use the Python `requests` library to fetch data from an *end-of-day data API* and then efficiently transform the JSON response into a working **Pandas DataFrame**.
💻 Course Goal:
By the end of this series, you will have a functioning tool to speed your analysis of markets and individual stocks.
✅ *Please SUBSCRIBE:*
https://www.youtube.com/subscription_...
✅ *Get the Code:*
https://github.com/mjmacarty/python-s...
---
Part 1: What You Will Learn
*Data Acquisition:* Use an API to get a listing of every security traded on an exchange.
*Libraries:* Master the use of `requests` (API calls) and `pandas` (DataFrame creation).
*Foundation:* Set up the structure for high-level analysis and individual security processing.
Contents:
0:00 Introduction & Course Goal
0:40 Data Source & API Key Setup
1:45 Defining the Ticker Acquisition Function
3:15 API Call & JSON to Pandas DataFrame
4:35 Inspecting the Tickers Data Result
🎥 Course Series Playlist:
| Video | Title | Link |
| :--- | :--- | :--- |
| *Part 1* | *How to Get a List of Stocks on an Exchange* | [ • **Python Stock Tickers: Download ALL Excha... ]( • **Python Stock Tickers: Download ALL Excha... ) |
| Part 2 | [Part 2 Video Title] | [ • Python Data Curation: Filter Stock Tickers... ]( • Python Data Curation: Filter Stock Tickers... ) |
| Part 3 | [Part 3 Video Title] | [ • Python Download Historical Stock Data & Sa... ]( • Python Download Historical Stock Data & Sa... ) |
| Part 4 | [Part 4 Video Title] | [ • Python Aggregate Stock Data: Combine Multi... ]( • Python Aggregate Stock Data: Combine Multi... ) |
| Part 5 | [Part 5 Video Title] | [ • Python Financial Analysis: Returns, Correl... ]( • Python Financial Analysis: Returns, Correl... ) |
| Part 6 | [Part 6 Video Title] | [ • Python: Calculate Stock Returns & Save to ... ]( • Python: Calculate Stock Returns & Save to ... ) |
| Part 7 | [Part 7 Video Title] | [ • Python Matplotlib: Plot Performance Grid o... ]( • Python Matplotlib: Plot Performance Grid o... ) |
| Part 8 | [Part 8 Video Title] | [ • Python Financial Events: Find Stocks Annou... ]( • Python Financial Events: Find Stocks Annou... ) |
| Part 9 | [Part 9 Video Title] | [ • Python Stock Screener: Calculate Close to ... ]( • Python Stock Screener: Calculate Close to ... ) |
| Part 10 | [Part 10 Video Title] | [ • Python OOP for Finance: Building a Stock A... ]( • Python OOP for Finance: Building a Stock A... ) |
| Part 11 | [Part 11 Video Title] | [ • Python Class: Calculate Log Returns, Rolli... ]( • Python Class: Calculate Log Returns, Rolli... ) |
| Part 12 | [Part 12 Video Title] | [ • Python Matplotlib: Visualize Returns, Vola... ]( • Python Matplotlib: Visualize Returns, Vola... ) |
🔗 Resources & Disclaimers
*EODHistoricalData Special Pricing (Referral):*
https://eodhistoricaldata.com/alphabench
**This video is for educational purposes only. The information provided should not be construed as investment advice. **
\#PythonForFinance \#StockAnalysis \#API \#Pandas \#PythonTutorial \#DataAcquisition \#StockTickers \#NYSE \#NASDAQ \#PythonProgramming