Markets & Data
How prices are formed and recorded, how to load and clean them, and why money today is worth more than money tomorrow.
Module 1 · Foundations6 lessons~2.6 hours
0%0/6
What it uses
Python, NumPy and pandas from Module 0, and the idea of compounding.
Where it leads
Clean, adjusted prices are the raw material for returns and statistics (Module 2); time value of money is the base for bond pricing (Module 3).
What you'll build
6 lessons, in the order they build on each other.
- 1How markets and prices workBeginnerBid, ask, last and mid: what a 'price' actually is.4 tasks5 checkpoint questions25 min
- 2OHLC bars and price data in pandasBeginnerLoad bars, compute ranges and gaps, resample to weekly.5 tasks5 checkpoint questions25 min
- 3Time value of moneyBeginnerCompounding, discounting and continuous rates in code.5 tasks5 checkpoint questions25 min
- 4Splits, dividends and adjusted pricesBeginnerWhy raw prices lie and how adjustment factors fix them.4 tasks5 checkpoint questions25 min
- 5Cleaning market dataBeginnerBad ticks, stale prices and missing sessions.4 tasks5 checkpoint questions25 min
- 6Querying tick data with SQLIntermediateSQL windows and joins over trades and quotes.5 tasks5 checkpoint questions30 min