Mathematics for Patient Investors
April 29, 2026•988 words
The Mathematics of Patience: Why One Limit Order Beats Two
Most brokerages allow limit orders with a six-month expiration. That creates a clean decision problem: given 130 trading days to buy a stock, what price should the limit be set at? Set it too low and the order never fills. Set it too high and you leave money on the table. The optimal answer turns out to have a closed form, and the implications are surprisingly strong.
The Beauty Problem
The framework borrows from the classical secretary problem in optimal stopping theory, adapted for prices. The idea: observe the market for a lookback period, record the lowest price seen, then set a limit buy at that level for the remaining action window. If the price revisits that low, you buy. If it never does, you accept the miss and move on.
The optimal lookback for a six-month window is approximately 16 trading days — roughly three calendar weeks. This comes from the closed-form solution k* = √(2N), where N is the number of trading days in the action window. At k=16 and N=130, the trigger probability is 89% and the expected entry price, conditional on filling, lands near the 6th percentile of the action window’s price distribution. In practical terms, this means buying at roughly 1.5 standard deviations below the window’s mean price, with high reliability.
The lookback is free — it does not consume trading days from the limit order window. The investor simply checks the trailing 16-day low before placing the order.
Empirical Validation
Tested across 500 trading days of daily data on three instruments — a gold ETF, a U.S. large cap value ETF, and a high-volatility growth stock — the framework produces nine non-overlapping test windows. Seven of nine triggered (78%, against the model’s predicted 89%). Among those seven, six delivered entry prices at or below the 2nd percentile with z-scores between −1.57 and −2.12. The average across those six: 8.8th percentile, z = −1.28, closely matching the theoretical prediction.
The seventh trigger was a failure. A growth stock entered a structural break — an exogenous shock re-rated the entire sector — and the lookback threshold, anchored in a pre-crash regime, triggered on a routine dip two days before the stock fell another 49%. The entry landed at the 93.8th percentile. This is the framework’s known failure mode: non-stationarity. The lookback threshold has no way to anticipate a regime change. The model works under stationarity and breaks when the underlying price process shifts structurally.
The Case for Splitting — and Why It Fails
A natural instinct is to hedge: split the position into two tranches with different thresholds. One tranche sets an easy trigger (short lookback, high fill probability, modest discount). The other swings for a deeper entry (long lookback, lower fill probability, larger discount). The blend should be better than either alone.
Jensen’s inequality says otherwise. The relationship between trigger probability and expected entry percentile is convex. For a concrete example: a single entry at 75% trigger probability buys at the 2.3rd percentile. A 50/50 split between 90% trigger (6.5th percentile) and 60% trigger (1.1th percentile) also averages to 75% trigger probability, but the fill-weighted entry percentile is 3.8% — worse than the single entry. The convexity means the easy tranche drags the average up more than the hard tranche pulls it down. This holds for any pair of trigger probabilities and any weighting. Splitting always loses in expectation.
Net Edge: Why the Discount Always Wins
The deeper question is whether the Beauty Problem is worth doing at all. Every day spent waiting for a limit fill is a day the stock might appreciate. The expected discount must be weighed against the opportunity cost of missing.
Define net edge as the expected discount captured minus the cost of the miss. The ratio between them reduces to a single parameter:
λ = Sharpe ratio × √T / |z|
where T is the window length in years and |z| is the z-score of the entry threshold. λ measures how many units of opportunity cost correspond to one unit of discount. When λ < 1, the discount dominates and the Beauty Problem adds value.
| Stock Profile | Ann. Return | Volatility | Sharpe | λ |
|---|---|---|---|---|
| Steady compounder | 12% | 22% | 0.55 | 0.25 |
| Growth compounder | 15% | 42% | 0.36 | 0.17 |
| High-conviction growth | 25% | 20% | 1.25 | 0.58 |
| Historic gold run (2024–26) | 41.5% | 22.6% | 1.84 | 0.85 |
λ is below 1 in every case — including an asset that doubled in two years with a Sharpe ratio of 1.84. At k=16 with 89% trigger probability, the net edge remains positive for any Sharpe ratio below 17.6. No equity instrument sustains anything close to that.
The Structural Reason
This is not a coincidence of parameters. The expected discount grows with lookback as the inverse normal of 1/(k+1), which scales as √(ln k). The opportunity cost of waiting grows as √T, which scales as √N. Because √(ln T) grows fundamentally slower than √T, the discount is structurally dominant at any practical horizon.
For the discount and opportunity cost to break even, the required investment horizon grows as 1/S², where S is the Sharpe ratio. At a Sharpe of 1.0, the breakeven horizon is roughly four years. At 0.5, it is over twenty years. The six-month limit order window is nowhere close to the boundary. The framework operates deep in the regime where patience is mathematically favored.
One Entry, Well Placed
The result is cleaner than expected. A 16-trading-day lookback on a six-month limit order window produces an 89% fill rate at the 6th percentile of the price distribution. Splitting into multiple entries cannot improve this — convexity forbids it. The discount exceeds the opportunity cost for every realistic equity — structural growth rate mismatch guarantees it. The only failure mode is non-stationarity, which is a different problem requiring different tools.
One limit order. Sixteen days of observation. The math says that is enough.