Python Finance Tutorial: How to Use APIs & Yahoo Finance (yfinance) for Real-Time Stock Data
Автор: Yosef Bonaparte
Загружено: 2025-12-15
Просмотров: 8
Описание:
In this video, we walk step-by-step through how to use Python to access real-time stock market data using APIs and the Yahoo Finance library yfinance. This lesson is perfect for beginners in Python, finance students, and anyone looking to build real financial tools.
We cover the fundamentals of APIs, JSON data, HTTP requests, and practical finance applications like fetching stock prices, computing returns, and building a mini portfolio tracker.
What You Will Learn in This Video
✔ What an API is and how programs communicate using HTTP requests
✔ How to read and interpret JSON data
✔ How to fetch real stock prices using yfinance (no API key required)
✔ How to download multiple tickers at once
✔ How to compute:
Daily returns
Portfolio return
Portfolio volatility
✔ How to build a Mini Portfolio Tracker in Python
✔ How to simulate portfolios and find the optimal Sharpe ratio allocation
🧪 Python Topics Covered
requests library
JSON parsing
yfinance API wrapper
Pandas DataFrames
NumPy matrix operations
Matplotlib visualization
Random portfolio simulation
#Python #Finance #API #YahooFinance #DataScience
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: