Building a Dividend Reinvestment Tracker in Python
A data model and sync loop for DRIP lots, cost basis, and yield on cost from a brokerage API, plus the corporate actions that break naive trackers.
Investing tools, market essays, and developer-to-investor crossovers — tested or argued, never speculated.
13 articles
A data model and sync loop for DRIP lots, cost basis, and yield on cost from a brokerage API, plus the corporate actions that break naive trackers.
IV rank compresses a year of implied volatility into one number. How it is calculated, and the three checks that keep it from misleading you.
Most of a 10-K is boilerplate carried over from last year. SEC endpoints let you diff filings instead of reading them front to back.
Size each trade from risk, not conviction: the fixed-fractional formula, fractional Kelly, R-multiples, and drawdown survival math.
A measured look at why lump-sum investing usually beats dollar-cost averaging on expected return, when DCA still makes sense, and how to decide for your own cash.
Excess return per unit of volatility -- what the number captures, the four assumptions that break it, and when to trust it.
Pricing, rate limits, and data coverage compared for solo quant builders, plus which one fits a weekend backtester.
Measure allocation drift, generate a self-funding trade list, and use threshold bands to avoid over-trading.
Risk parity allocates by risk contribution instead of dollars, so one volatile asset doesn't dominate. Includes implementation steps and common caveats.
I rebuilt the same equity backtest on both APIs to see which fundamental data you can trust. It comes down to point-in-time data.
We ran the same momentum rotation strategy in each Python framework and measured runtime, code complexity, and accuracy against live trading results.
Loss aversion, recency, overconfidence, and herding -- how each one works, and the guardrails that beat relying on willpower.
A side-by-side on free tiers, market coverage, and developer experience, with no trading-edge hype.
One email every Friday with the tools worth your time. No spam, unsubscribe anytime.