Clustering BEAM Nodes Across a Droplet and My House
The droplet's firewall let in SSH and web traffic and nothing else. The worker was behind a home router, on a laptop that
Production Elixir. Real Systems.
Real systems fail in interesting ways. Notes from building one in Elixir.
The droplet's firewall let in SSH and web traffic and nothing else. The worker was behind a home router, on a laptop that
Backtests were getting slow enough to matter, so they moved to a couple of old laptops at my house. The problem was that a backtest
Every trading session knows its own risk. None of them knows what the others are doing. Three sessions sizing themselves independently against the same account
A position-sizing calculation blew up. Not a wrong number — no number at all. The account had money in it, the broker knew the balance,
Last post ended with a promise: find the last point the account was genuinely flat, and match forward from there. This one is that algorithm,
The number in the weekly P&L digest was wrong. For about ten minutes I assumed I'd made an arithmetic mistake somewhere
The previous post explained why contract expiry is a problem worth solving. This one is the machine that solves it: four states, three triggers, one
Any automation that doesn't know a futures contract expires will eventually trade an instrument that has ceased to exist. Where futures stop behaving
A previous post traced the macroscopic shape of the system — five flows, five trust questions. This one traces the path. One tick arrives over a
An automated trading system makes hundreds of decisions a day on data it didn't generate. Ticks arrive from a broker. Orders go to