Python for Traders
Data wrangling, research notebooks, and automation in Python.
beginner1 min
Fetching OHLCV Data with Python
Pull clean historical OHLCV candles in Python, handle pagination and rate limits, and store the result for reproducible research.
Read articlebeginner3 min
Computing Returns and Equity Curves with pandas
Compute simple and log returns from a price series, build a cumulative equity curve with pandas, and understand why log returns add across time.
Read articleintermediate3 min
Resampling OHLCV Data with pandas
Aggregate intraday OHLCV bars to higher timeframes with pandas resample, the correct OHLC agg dict, and the timezone, closed, and label gotchas that bite.
Read articleintermediate3 min
Scheduling Trading Jobs in Python
Run Python trading jobs on a schedule with cron, APScheduler, and systemd timers — covering market hours, idempotency, locks, and graceful shutdown.
Read article