Viral Post Offers Claude Code Prompt for Regime-Detection Trading Bot
The post shares a prompt for Claude Code that builds a trading bot using a Hidden Markov Model to detect market regimes, with per-regime strategies, walk-forward testing and a Sharpe 1.5 threshold. It attributes the prompt to a leaked Jane Street quant document, and the post's claims about its origin are unverified.
Original post · 1 min read
paste into Claude Code tonight. This one prompt builds a regime-detection trading bot:
fits a Hidden Markov Model to read calm, choppy, stressed and crash states
writes a separate playbook per state, never mixes strategies
switches only after a new state holds the lead for several candles, so it never flip-flops on noise
walks forward through real data with real costs, and refuses to ship unless it clears Sharpe 1.5 and beats buy-and-hold
ends every run with one line in caps: what could blow up this account
bookmark it
Roan @RohOnChainJev is the FASTEST AI model ever built for trading
It makes calibrated buy/sell decisions in under 100 ms
That is one real decision on every single block, 24/7
In this article I've shown EXACTLY how to build HFT trading system with Jev (from scratch)