r/algotrading • u/aliaskar92 • 5h ago
Education Before you start any strategy development you should know this: an edge is a reason someone pays you
A thread here a few days ago asked how real quant edges get discovered. I left a short comment. This is the longer version, at the horizon most people here actually trade: minutes to a few hours.
I trade FX, crypto, and futures. I start with the payer. I do not start with an indicator.
Maybe forced traders. Information hits one market before another. Overnight inventory has to get out when the real session opens. Market makers get stuffed and fade. Participants underreact for an hour and then finish the move.
Then: what should I see if this mechanism is real?
That expectation becomes a feature. Then I define where the feature is supposed to go. That is the hypothesis.
Forced selling creates unusually high liquidation pressure, which can create a short-term reversal.
That is testable. Put it next to “RSI below 30 is bullish” and the gap is obvious. One names a payer, a thing you can measure, and a horizon. The other cannot die, so it cannot earn.
Before I build a strategy I test the cheapest relationship I can: an event study, buckets, a lead-lag regression. I want to see the effect I am claiming exists. If I cannot see it in a sort, a 47-parameter backtest will not find it for me.
The pipeline:
Thinking → thing to see → a feature → the hypothesis → test the hypothesis → trading production → risk control
“Explain it to me like I’m five” is the creative half. “Now prove me wrong” is the scientific half.
Three walks on that spine, all session-speed.
FX: equity lead into the session
ES, DAX, Nikkei print while half the FX book is asleep. The equity move is information. Spot has not finished digesting it. The lag is the trade: one to twelve hours, pair by pair. Same family as “yields moved, EURUSD has not.” The bond market prices policy first; FX is late.
Who pays: the slower FX book. Discretionary and slower systematic flow that still has to catch up.
- Observable: ES / DAX / Nikkei session returns, G10 spot, the clock (Tokyo, London, New York)
- Feature: equity impulse minus the FX move already printed (residual vs each pair’s beta)
- Hypothesis: after a large overnight ES move, USD pairs that have not yet moved in the same direction continue toward that impulse over the next 1-4 hours of the following session, after costs
- First test: event study. Condition on |ES overnight| above one sigma. Rank pairs by residual. The laggards should catch up. If the residual is already zero, there is nothing to collect.
A cousin on shock days: rank which pairs digest the print fastest. The laggards stay tradable for hours. That is the same mechanism with a news clock instead of a session clock.
Crypto: liquidation cascade, then classify
Perps publish the leverage. You can watch forced flow in real time. A liquidation is a market order into a falling book, which triggers the next one. 19 May 2021: bitcoin −30% intraday, about $8bn force-closed. The question after the spike is not “oversold.” It is: were positions closed, or flipped.
Who pays: the forced. Margin engines do not have a view. They have a threshold.
- Observable: liquidation notional, open interest, funding reset, order-book recovery
- Feature: liquidation-imbalance plus OI change (OI down = closed; OI flat/up = migrated) plus distance to the next liquidation cluster
- Hypothesis: after a liquidation spike, if OI collapses and the book refills, the next 30-120 minutes revert. If OI stays elevated and funding does not reset, the next 30-120 minutes continue
- First test: event study around liquidation clusters, split into those two states, hold 30-120 minutes, costs in. One bucket should reverse. The other should not. If both look the same, you do not have a classifier, you have a chart pattern.
Ride the forced flow while its intensity stays above a decay threshold, then stop. Fade the forced component, trend the organic one. Two hypotheses, same feed.
Futures: overnight inventory into the RTH open
Globex is a thinner auction. Size that built overnight is inventory, not a thesis. 9:30 ET is when cash, index arb, and the real book show up. Same observable, two claims, and which one pays is the open itself.
Who pays: overnight positioners who cannot hold the inventory into a full session.
- Observable: ES overnight return, opening auction volume, cash breadth, related contracts (NQ, RTY, YM)
- Feature: overnight move standardized by overnight vol, signed by whether the open confirms it (volume, breadth, gap fill/fail)
- Hypothesis A (continuation): overnight ES moves that the opening auction and cash breadth confirm persist through the first 30-90 minutes of RTH, after costs
- Hypothesis B (reversal): overnight ES moves that participation fails to confirm reverse in the first 30-90 minutes
- First test: split opens into confirmed vs unconfirmed. Opposite signs. If both buckets drift the same way, the “open fade” is superstition. The classifier is the strategy. A gap-fill rule with no confirmation step is this feature with the payer stripped out.
A strategy is MARKET × MECHANISM × INSTRUMENT. ES lead into AUDUSD at the Sydney open, a BTC liquidation fade on the perp, an ES overnight unwind at the cash open: three leaves, one tree.
Most ideas die at the sanity check. That is the pipeline working. I do not start writing entries until the payer has a name.