13 Python libraries for free market data everyone should know:
Theta Data
Real-time and historic, high-resolution, tick data for stocks and options. Theta Data is not free but there is a generous free tier and it's one of the cheapest sources of options data on the market.
Data for stocks (historic, intraday, fundamental), FX, crypto, and options. Uses Yahoo Finance so any data available through Yahoo is available through yfinance.
pandas-datareader used to be part of the pandas project. Now an independent project. Includes data for stocks, FX, economic indicators, Fama-French factors, and many others.
Implied volatility is not the same over the life of an option.
Prove it with volatility surfaces.
Here's how to do it in Python (step by step):
By reading this thread, you’ll be able to:
1. Get live options data 2. Analyze volatility skew 3. Analyze volatility structure 4. Build an implied volatility surface
But first, a primer on implied volatility…
If you’re not familiar with implied volatility:
• Market’s expectation of volatility
• Varies across strikes and expirations
• Where most quants and traders spend their time
• The input that sets model and market price equal
The most-used analytics software of the last 37 years:
Excel
But Excel on your resume is no longer enough to get a quant job.
Because Python is the new Excel.
But with 533,000,000 results for "python tutorial", most people struggle to start.
The 6 steps get started in 1 day:
In case you’re unsure if you should learn Python:
• 40% of all hedge fund jobs require it on job descriptions
• 100,000s of powerful pre-built packages
• Base salaries topping US$200,000
• Easy to learn for beginners
• Open source (FREE)
So… where do you start?
First, 3 dead-simple tips after 10 years of using Python:
• Study other people’s code (learn from the best)
• Find a real problem to solve (puzzles get boring)
• Learn how to ask questions (expect to ask A LOT of questions)
Introducing Getting Started With Python for Quant Finance.
A cohort-based course and community that will take you from complete beginner to up and running with Python for quant finance in 30 days.
The next cohort starts 15 January with limited spots.
Here's everything you get:
🎥 10 live sessions where you'll install and configure Python, create a quant lab in Jupyter Notebook, install packages, understand the quant finance landscape, and build real quant code.
🥇 10-module curriculum you can review at your own pace (with lifetime access to these recordings).