Writing

Notes on trading, infrastructure, and building in public.

Margining and Liquidations, Part 4: Venue Comparison
How leading derivatives venues implement isolated, cross, and portfolio margin—and where similar product names conceal different risk models.
derivativesriskmarket structure
2026-09-06
Margining and Liquidations, Part 3: Scenario-Based Margining
How scenario-based portfolio margin measures joint risk, credits real hedges, and adds buffers for risks its stress grid can miss.
derivativesriskmarket structure
2026-09-05
Margining and Liquidations, Part 2: Cross Margining
How cross margin pools collateral across positions, calculates account-wide requirements, and fails to recognize offsetting hedges.
tradingderivativesrisk
2026-09-04
Margining and Liquidations, Part 1: Isolated Margining
How isolated margin determines position limits, collateral requirements, and liquidation thresholds for futures and perpetuals.
tradingderivativesrisk
2026-09-03
Introducing Tribulnation Catalogue: One ID for Every Asset, Everywhere
Every exchange invented its own names for everything. Catalogue is the translation layer — a free, open API for crypto assets, networks, and instruments.
engineeringopen source
2026-06-30
Introducing Typed: Exchange Clients That Actually Work
Why we built our own async, validated Python clients for every crypto exchange we trade on — and why we're making them public.
engineeringapi designopen source
2026-05-11
The Proper Way to Write API Clients
How to write API clients for simplicity, precision and ease of use.
engineeringapi design
2026-01-23
Perps and Arbitrage
An introduction to perpetual instruments and the arbitrage that makes them work.
tradingderivativesmarket structure
2026-01-22
Futures: Linearity and Equivalence
An introduction to futures contracts, their pricing, linearity, and equivalence of multiple positions.
tradingderivatives
2026-01-20