Skip to content

Blog

Welcome to the Alpha Book blog — sharing quantitative trading, market making strategies, crypto market analysis, and technical deep-dives.


On-Chain Market Making in the New DEX Era: LVR, Quant Playbooks, and the 2025-2026 Protocol Wars

2026-09-11 · longcipher

From Meteora DLMM and Uniswap v4 to Hyperliquid and intent batch auctions — the math, engineering, and risk control of on-chain MM, plus a field report on Sui, Robinhood Chain, Unichain, Flaunch, and today's hottest protocols. → Read more

Multi-Strategy Risk Control: The CVaR Budget + Micro Circuit Breaker Loop

2026-09-07 · longcipher

The end goal of a multi-strategy quant fund is not "make the most." It is to maximize risk-adjusted return (Sharpe / Sortino) within a given risk envelope, and to guarantee the fund survives a black swan or a chunk of broken code blowing up. → Read more

Quant Strategy Taxonomy and Surviving Alpha Decay

2026-09-07 · longcipher

Crypto strategy taxonomy, Kelly sizing and portfolio risk control, Lopez de Prado grade backtest discipline, and execution optimization. → Read more

Conformal Prediction: Putting a Mathematically Provable Seatbelt on High-Frequency Alpha

2026-09-07 · longcipher

Traditional machine learning (ML) and deep learning (DL) models are hitting a wall that keeps getting harder in high-frequency trading (HFT): overconfidence. → Read more

Order Book Foundation Models: Feeding LOB Data into Deep Learning for Short-Term Alpha

2026-09-07 · longcipher

K-line foundation models predicting daily or minute-bar moves are cute. They operate on low-frequency candlesticks where price walks like a drunkard on a slow night. → Read more

TLOB Order Book Model Post-Mortem: A Post-Mortem on a Model Worse Than a Coin Flip

2026-09-07 · longcipher

Ran the TLOB model inside a live shadow pipeline for a bit over two hours, fed it ~17k real tick inferences. → Read more

The Mathematical Phase Transition of Arbitrage: How Fee Discounts Exponentially Compound Alpha

2026-09-07 · longcipher

In quantitative trading, reducing exchange fees is often mistakenly viewed as a simple linear cost-saving measure. → Read more

The Convergence of TradFi and Crypto: A Panoramic Deep Dive into US Equities, Indices, and Commodity Trading

2026-08-27 · longcipher

You've probably noticed this: buying an NVDA perpetual on Binance and buying one share of Nvidia on Futu both look like "going long Nvidia." But the underlying mechanics of these two trades are worlds apart. → Read more

Why Professional Traders Refuse to Touch A-Shares: A Microstructure Autopsy of Retail's Systematic Trap

2026-08-27 · longcipher

Friends ask me constantly: "Why would you rather eat US market time-zone jet lag, wrestle with options chains and derivative hedging, than touch China A-shares?" → Read more

Deep Deconstruction & Strategy Evolution: From CEX-DEX Cross-Market Arbitrage to Modern HFT Quant Systems

2026-08-24 · longcipher

The backbone of this piece is a thorough deconstruction of Jae Chung's (founder of Manifold Trading) famous startup postmortem, Starting a quantitative trading firm with 0 experience — then layered with everything that happened in CEX-DEX arbitrage from 2024 to 2026: LVR theory, convex-optimization routing. → Read more

AWS EC2 HFT Market-Making Tuning: From Kernel Jitter to Bare-Metal Reality

2026-08-11 · longcipher

Running Arch Linux LTS on AWS Nitro / c8i.2xlarge for HFT market making — squeezing P99/P99.9 tail latency to the bone: CPU isolation, HugePages, ENA, kernel stack, system slimming, and the architecture truth. → Read more

Async Asymmetric Dynamic DCA: From Grid-Martingale to AI Microstructure Risk Control

2026-08-10 · longcipher

Grid and Martingale strategies look beautiful in textbooks and ugly in live trading: fixed spacing fills the book instantly in a crash, pure-price EMA catches falling knives during institutional dumping, and hard stops are either too late or too rigid. → Read more

The ULL/HFT Panorama Whitepaper: Strategy Methodology, Systems Engineering, and Frontier Fusion

2026-08-09 · longcipher

In markets fighting at millisecond, microsecond, and nanosecond scales, Ultra-Low Latency (ULL) and High-Frequency Trading (HFT) stopped being a "who has faster internet" contest long ago. → Read more

From Microstructure to the Live Printing Press: 67 Features, Deep Learning, and Scientific Backtest Attribution

2026-08-07 · longcipher

To academia and many fresh quant hobbyists, trading looks like: "grab historical data → train a DL model → 90% backtest accuracy → get rich." → Read more

The HFT Market Maker's Algo-Order Playbook: From Post-Only to Inventory Skewing and Smart Routing

2026-08-07 · longcipher

A rookie market maker's first profit comes from the most primitive move: post a limit order, wait for the taker to eat it, pocket the spread. → Read more

The Classical Market-Making Model System & Modern HFT Fusion

2026-08-05 · longcipher

A quoting engine in HFT market making does exactly two jobs: suppress inventory risk and adverse selection risk. → Read more

Fully Automated Quant Strategy Factory: Genetic Programming, PPO RL, and the CVaR Global Risk Loop

2026-08-05 · longcipher

In the strategy evolution of top quant funds and HFT market makers, the old single-strategy, static-weight architecture can no longer handle three things: regime shift, rapid alpha decay, and tail liquidity drought (flash crash). → Read more

HFMM Core Guide: Full-Chain Latency Breakdown, Low-Level Architecture Rebuild, and Microsecond Observability

2026-08-05 · longcipher

In both crypto and traditional HFMM (High-Frequency Market Making), only one sentence is true: speed is survival, latency is PnL. → Read more

MEV Sandwich Attack Deep Dive: From Uniswap V2 Bot Anatomy to Modern MEV Frontier

2026-08-05 · longcipher

This is a deep technical tutorial for beginner-to-intermediate MEV (Maximal Extractable Value) developers. → Read more

Cross-Exchange Two-Leg Spread & Funding-Rate Arbitrage Engine: Deep Technical & Strategy Analysis

2026-08-05 · longcipher

"Earn cabbage money, carry opium anxiety." That's the most accurate one-liner for cross-exchange hedge arbitrage. → Read more

High-Frequency LOB Core Features & the Market Maker's Dynamic Quote-Skewing System

2026-08-05 · longcipher

In HFT and quant market making, the microstructure features of the limit order book (LOB) and tick data are the core tools for generating Alpha, managing adverse selection, and optimizing quote placement. → Read more

The Wick Hunting Chronicles: From BitMEX Liquidation Flow to Oracle Latency — Four Classic Hunts

2026-07-27 · longcipher

Between 2017 and 2020, crypto derivatives went through a stretch of history that looks almost absurd in hindsight: the exchange's own liquidation engine would smash price through the floor, retail couldn't even click the cancel button during system overload, and a small crew of quant. → Read more

The Invisible Wall Street: Why Every Crypto Exchange Crams Into AWS Tokyo

2026-07-27 · longcipher

Quick question: where is crypto's Wall Street? Not Manhattan. Not the CME's Aurora data center outside Chicago. Not some tower in Singapore's Marina Bay either. → Read more

Two Matching Engines: Dissecting Exchange A/B-Book Routing and a Market Maker's Counter-Recon Playbook

2026-07-27 · longcipher

Uncomfortable question first: that market order you placed on some second-tier exchange — did it ever actually reach the matching engine? → Read more

SK Hynix Cross-Market Arbitrage: A $600K+ Structural Arb Post-Mortem

2026-07-26 · longcipher

A real-world walkthrough of cross-market structural arbitrage on SK Hynix — exploiting the premium gap between crypto perps and Korean equity spot, funding rate rule differences across exchanges, and retail sentiment mispricing. → Read more

HFT Market Making Infrastructure: A Microsecond Survival Guide from Bare Metal to State Machines

2026-07-26 · longcipher

Crypto HFT market making starts and ends with one thing: latency. Most people think the strategy is the secret sauce. → Read more

The $14 Billion Mirage: Anatomy of LAB's Institutional-Grade Harvest

2026-07-25 · longcipher

There's an old saying in crypto: one day in the market equals a year in real life. → Read more

Unmasking the Physical Hack of HFT: A Deep Dive into Colo

2026-07-20 · longcipher

In market making, there's an insider's saying: "Colo is the entry ticket." No matter how elegant your algorithm or how sophisticated your architecture — if your servers sit in a self-built facility a thousand kilometers from the exchange, forget it. → Read more

Deep Dive into Crypto High-Frequency Gray Strategies: From TradFi Violations to On-Chain Hunting Grounds

2026-07-14 · longcipher

In traditional finance, market manipulation is a crime. SEC, CFTC, CSRC (China) — these agencies are not decoration. → Read more

Bun's Zig to Rust Migration: 11 Days, 64 AI Agents, 535K Lines Rewritten

2026-07-14 · longcipher

Deep dive into how Bun used Claude Code multi-agent workflows to rewrite 535K lines of Zig to Rust in 11 days, plus a reusable agent skill framework abstracted from the practice. → Read more

Multiple Local Clones: The Best Parallel Dev Setup for Rust Projects with Coding Agents 🦀

2026-07-09 · longcipher

AI coding agents are getting good. Real good. You can now run multiple agents at once on the same repo — each on a different feature, all in parallel. → Read more

Building a Quantitative Trading System from Scratch: An End-to-End Practical Path

2026-07-09 · longcipher

Tutorials are useless if they just tell you things. The point is a path from "I know what that is" to "I can ship this and it doesn't lose money." Knowledge that you can't execute on is entertainment, not edge. → Read more

GLFT: The Stationary Solution That HFT Firms Actually Use

2026-07-09 · longcipher

We covered Avellaneda-Stoikov (AS) in the last piece. It's the model that gave market makers a mathematical backbone. → Read more

The Avellaneda-Stoikov Model: The Math That Taught Bots How to Quote

2026-07-09 · longcipher

Every market maker asks two questions, every second of every trading day: → Read more

Crypto Market Maker Survival Guide: Core Traps and Dark Patterns

2026-07-09 · longcipher

Crypto is a dark forest. No regulation. No safety net. No referee. Market makers provide liquidity and earn the bid-ask spread — or so the theory goes. → Read more