How Quants Actually Build Trading Strategies (and What AI Changes)
Quants don't draw trend lines, they quantify the market and size bets by probability. How hedge-fund regime models actually work, the rigor that separates edge from mirage, and what AI changes.
Guillaume Rufenacht
AI Product Manager · Lisbon
Most retail trading runs on vibes: “I’ve got a good feeling about Bitcoin.” Quants run on the opposite. They don’t draw trend lines or read indicators off a chart; they turn the market into numbers, model how those numbers move, and size bets by probability. I spent seven years in and around quant trading desks, and the gap between how a hedge fund operates and how a retail trader operates is mostly this one mindset shift, which AI is now putting within reach of far more people.
Here’s how quants actually build strategies, using a clean regime model as the example, and what changes now that an agent can do the heavy lifting.
Key takeaways
- Quants quantify everything. 'It feels bullish' becomes a measured state with a number attached.
- A regime model classifies each day as bull, bear, or sideways, then uses the probability of moving between states to decide trades.
- The signal is simple even when the math isn't: direction comes from probability differences, and the size of the edge sets the size of the bet.
- Rigor is the moat: walk-forward testing to avoid lookahead bias, and letting the data define states instead of your opinion.
- AI collapses the cost of this rigor, but it doesn't replace the judgment, that's the real edge.
Step one: quantify the feeling
The whole discipline starts by refusing to trade on intuition. Instead of “it’s windy today,” a quant wants a number: how strong, in which direction. In markets, one common way to do that is to define states. Sum the last 20 days of returns: 5% or more is a bull state, -5% or worse is a bear state, anything in between is sideways. Now every day in an asset’s history gets a label. It sounds elementary, but that labeling is what makes everything after it computable.
Step two: model how states move
The key assumption is the Markov property: tomorrow depends mostly on where you are today, not the whole path that got you here. Drive to New York from Arkansas or from Ohio and the route differs entirely, what matters is your current position. So quants count every historical transition, bull to bull, bull to bear, sideways to bull, and turn the tallies into a 3x3 transition matrix where each row (today’s state) sums to 100% across tomorrow’s possibilities.
Two things fall out of that matrix. The diagonal, bull-to-bull, bear-to-bear, captures persistence: states are “sticky,” which is the rigorous version of “the trend is your friend.” And to forecast further out, you simply raise the matrix to a power (square it for two days, cube it for three). Push that far enough and the probabilities converge into noise, the stationary distribution, which is itself a useful warning about how little signal lives in long-range prediction.
Step three: turn it into a bet
After all the matrix math, the trading signal is almost insultingly simple, and that’s the pattern with good quant work: complex machinery, simple output. Take the probability of a bull state tomorrow and subtract the probability of a bear state. A positive number says go long, a negative one says go short, and the magnitude sets position size. A +45% edge is a bigger bet than a +10% edge. Risk management isn’t a separate step; it falls out of the signal itself.
Why the rigor matters more than the model
- Walk-forward testing. A naive backtest lets the strategy “learn from the future,” baking in data it couldn’t have known. Walk-forward testing recomputes the model day by day so it only ever uses information available at the time. It’s computationally brutal, which is exactly where modern compute and AI help.
- Let the data define the states. Picking “5% = bull” by hand is a subjective weak link in an otherwise mathematical system. More advanced approaches (hidden Markov models) let the data discover the regimes itself, then you check where the discovered states agree with your definitions for confirmation.
What AI actually changes
None of this is new, hedge funds have done it for decades. What’s new is the cost. The walk-forward computation that used to need a research team and serious infrastructure can now be expressed as a prompt or a reusable skill and run by an agent in minutes. That democratizes the mechanics. What it doesn’t democratize is the judgment: which features matter, how to avoid fooling yourself, when a number is signal versus noise. That’s the same lesson from every domain I work in, including building with Claude Code, the tool collapses the effort, but the operator’s judgment is still the edge.
The takeaway
This is the world I came from, seven years across quant trading and crypto before building AI products. See more about me or get in touch.
Frequently asked questions
How is quant trading different from regular trading?
Quants refuse to trade on intuition. They turn the market into numbers, classify it into measurable states, model the probability of moving between them, and size bets by their statistical edge.
What is a regime model?
A model that labels each day as bull, bear, or sideways and uses a transition matrix, the historical probabilities of moving between states, to estimate what tomorrow most likely holds. Sticky states are the rigorous version of “the trend is your friend.”
What separates a real quant edge from a backtest that just looks good?
Rigor against fooling yourself, especially walk-forward testing (so the strategy never learns from the future) and letting the data define states rather than imposing them by hand.
Does AI replace quants?
No. AI collapses the cost of the heavy computation, like walk-forward testing, so far more people can run it. But the judgment, which features matter and when a number is signal versus noise, is still the edge.
Work with me
Want a system like this built for your pipeline?
I help teams take AI from a clever prototype to dependable production, outbound engines, lead intelligence, and the LLM pipelines underneath. See what I have shipped or get in touch.