✶Explainer
What is actually inside a modern HFT firm's technology stack
Colkitt breaks down what a trading firm actually builds. Strategy code is only 10-15% of a roughly 100,000-line codebase; the rest is consuming exchange data feeds optimised for speed rather than ease of use, reconstructing the limit order book, and managing orders. Surprisingly hard problems include recognising your own resting orders, since the data feed doesn't label them, which can produce feedback loops where you bid against yourself. Back-testing requires effectively rebuilding the exchange as a simulator.
- Roughly 85-90% of the codebase is data plumbing, not strategy
- Exchange data feeds are optimised for speed, not consumability; a missed message triggers costly regeneration
- Identifying your own orders in the feed is a distributed systems problem — delivery order is not guaranteed
- Building a realistic simulator means reimplementing the exchange
- Latency matters because exchanges award queue priority to faster order entry
“The actual strategy side, the glamorous side of it is maybe 10% of it. Maybe 15% of it.”
“So it's almost like a distributed systems problem from computer science.”
#infrastructure#latency#data engineering
✶Explainer
Why liquidity matters and what the limit order book replaced
Colkitt defends the social value of market making: without a continuous market there is no agreed price, and a bilateral trade becomes an adverse selection problem — someone calling to sell a million Microsoft shares at 2am reads very differently to the same call at 2pm. The limit order book replaced an opaque dealer system where a single person held the book, and its great advance was transparency plus a pre-defined matching priority. Once continuous price discovery breaks, it is hard to restore — visible in wider spreads at the open.
- Liquidity generates a continuous, observable fair price even for those not trading
- Bilateral trades without a market are dominated by information asymmetry
- The pre-limit-order-book dealer system was opaque and non-transparent
- The order book's key innovations: visible orders and pre-defined matching priority
- Liquidity is thinner and trading more expensive at the market open
“One of the biggest advances with the limit order book, it's very transparent. Here are all the orders. Everyone can see them.”
#limit order book#price discovery#market structure
✶Explainer
The evolution of AMMs: Vitalik's blog post, Uniswap, Curve, Solana and V3
Colkitt traces the lineage: Vitalik Buterin sketched the constant-product mechanism in a blog post, Hayden Adams built it as Uniswap, and sceptics who said nobody would use it were proven wrong. Uniswap's real breakthrough was permissionlessness — you no longer needed a Coinbase or Binance listing to have liquidity. Curve then attacked capital inefficiency for stable pairs, Solana's higher throughput allowed genuine on-chain limit order books, and Uniswap iterated on itself with V3's concentrated liquidity, which Colkitt is bullish on for liquid assets.
- The AMM idea originated in a Vitalik blog post and was first shipped by Uniswap
- Permissionless pool creation removed the exchange-listing gatekeeper
- Curve solved capital inefficiency by assuming stable pairs barely deviate
- Solana's throughput allows full on-chain limit order books but sits away from Ethereum's user activity
- Uniswap V3's concentrated liquidity is arguably no longer a pure AMM
“So you don't have to go to Uniswap and get approved to list your token. You can just go create your own pool.”
“I'm pretty bullish on concentrated liquidity in terms of, I think price discovery is better, and I think ultimately liquidity will be better than the…”
#Uniswap#Curve#Solana#AMM history
✶Explainer
Protocol tokens are effectively equity: cash flows plus governance rights
Colkitt frames native tokens using the NASDAQ analogy: NASDAQ the exchange and NASDAQ the stock, where the stock trades on the exchange. Protocol tokens behave like equity — they entitle holders to a share of protocol fees, which can be modelled as discounted cash flows, and they confer governance rights over parameters like fee tiers. Uniswap has built its protocol fee into the code but not yet turned it on. He also notes DeFi's twist: markets have emerged that strip voting rights away from cash flows, notably around Curve.
- Tokens function like shares: a claim on protocol fees plus governance votes
- Uniswap's protocol fee is coded but not yet activated
- Governance votes have approved new fee tiers, including 0.01%
- Typical split: five sixths of fees to LPs, one sixth as protocol fees to the treasury
- DeFi has produced markets that separate voting rights from cash flow rights
“Native token is almost shares in the company.”
“So there's all kinds of iterations of that game being played in DeFi world, which is kind of interesting, kind of fun.”
#tokenomics#governance#Uniswap#Curve
✶Explainer
Gas fees are why on-chain liquidity is set-and-forget instead of active
Every action on Ethereum incurs gas fees paid to miners or validators, and as demand has risen those fees have climbed. Classical AMMs tolerated this because you deposit once and return a year later. But a high-frequency trader might cancel 99% of orders, meaning a hundred transactions per trade — completely incompatible with high gas costs. As a result, concentrated liquidity positions on Uniswap V3 drift out of range and get abandoned, which is not actually safe because the provider remains exposed to being filled in the wrong direction.
- Gas fees go to miners or validators, not to protocols or LPs, and will never be zero
- Set-and-forget AMM design was an adaptation to high gas costs
- Real quoting behaviour implies roughly 100 transactions per executed trade
- Uniswap V3 positions drift out of range and are abandoned
- Abandoned out-of-range positions still carry toxicity exposure
“That's a very heavyweight operation for something that should be a lightweight operation.”
#gas fees#Ethereum#Uniswap V3#friction
✶Explainer
MEV explained: why transaction ordering became a profit centre
MEV stands for Miner Extractable Value. Miners and validators choose how to construct the next block, and while ordering barely mattered for simple transfers, in DeFi small changes in ordering have huge effects on trading profits. Colkitt entered the space as a trader exploiting predictable miner behaviour — highest gas cost first, then first-seen — to front-run large trades or arbitrage price dislocations between two DEXs. He compares it directly to HFT: both reward extreme precision in execution, and he argues the fix is better front-end design that stops users making exploitable decisions.
- Miners and validators have discretion over transaction ordering within a block
- Ordering is economically trivial for transfers but decisive in DeFi
- Miner behaviour is predictable: highest gas first, then first-seen
- Strategies include front-running large buys and arbitraging price dislocations between DEXs
- MEV protections exist at the protocol level but not in user-facing interfaces
“So it's funny, MEV actually stands for Miner Extractable Value.”
“So, I think a lot of the way to fix it is build better systems on the front end to stop users from making bad…”
#MEV#front-running#blockchain#arbitrage
✶Explainer
How NASDAQ, NYSE and Binance could integrate with DeFi rather than die
Asked whether DeFi threatens incumbent exchanges, Colkitt rejects the survive-or-die framing. He points to CrocSwap's sponsored pools, which allow a venue like Binance to create a permissioned pool subject to token-holder approval, access that liquidity transparently on the back end, and show the quotes on its own interface so users need no wallet. For US equities he notes Reg NMS already routes orders to whichever venue has the better quote, so there is no structural reason a DeFi exchange couldn't eventually be eligible for protected quote status.
- Sponsored pools let a centralized venue access DeFi liquidity in a permissioned way
- On-chain transparency lets LPs verify what a sponsor is paying them
- Users could access DeFi liquidity through Binance without holding a wallet
- Reg NMS already routes to the best available quote across venues
- A DeFi exchange could in principle be eligible for protected quote status
“So, cool thing about DeFi is people call it Lego blocks for money.”
“There's no reason you can't have a DeFi exchange that's also eligible for protected quote status, talking about the future.”
#Binance#NASDAQ#Reg NMS#composability