Dealer Regime Strategy API
Classifies the dealer gamma regime (positive-gamma compression vs negative-gamma acceleration) from net gamma, dealer levels, and full vanna/charm exposure, and proposes an iron condor in compressive regimes.
Endpoint
X-Api-Key)
Rate Limited: Yes
Growth plan+
Parameters
| Name | In | Required | Default | Description |
|---|---|---|---|---|
symbol |
path | yes | - | Underlying symbol |
expiry |
query | no | all upcoming expiries | yyyy-MM-dd. Restricts exposure aggregation to a single expiry. |
curl -H "X-Api-Key: YOUR_API_KEY" \
"https://lab.flashalpha.com/v1/strategies/dealer-regime/SPY"
import requests
resp = requests.get(
"https://lab.flashalpha.com/v1/strategies/dealer-regime/SPY",
headers={"X-Api-Key": "YOUR_API_KEY"}
)
data = resp.json()
print(f"{data['decision']} (score {data['score']}, regime {data['regime']})")
const resp = await fetch(
"https://lab.flashalpha.com/v1/strategies/dealer-regime/SPY",
{ headers: { "X-Api-Key": "YOUR_API_KEY" } }
);
const data = await resp.json();
console.log(`${data.decision} (score ${data.score}, regime ${data.regime})`);
Response
Returns the standard strategy decision envelope. The metrics and regime fields are specific to this strategy (see below).
{
"strategy": "dealer_regime",
"symbol": "SPY",
"timestamp": "2026-06-05T14:32:11Z",
"decision": "candidate",
"score": 72,
"confidence": 0.83,
"regime": "positive_gamma_compression",
"best_structures": [
{
"rank": 1,
"structure": "iron_condor",
"expiry": "2026-06-19",
"legs": [
{ "action": "sell", "type": "put", "strike": 588, "delta": -0.25, "premium": 1.42, "quantity": 1 },
{ "action": "buy", "type": "put", "strike": 578, "delta": -0.12, "premium": 0.72, "quantity": 1 }
],
"credit": 0.70,
"debit": null,
"max_profit": 0.70,
"max_loss": 9.30,
"breakevens": [587.30],
"edge_score": 72,
"liquidity_score": 0.88
}
],
"metrics": {
"net_gamma": 4.2e9,
"underlying_price": 589.12
},
"risk_flags": [],
"why": ["Net dealer gamma is positive and spot sits above the gamma flip, favouring compression."],
"avoid_if": ["Spot breaks below the gamma flip into negative-gamma acceleration."],
"data_quality": { "score": 90, "warnings": [] }
}
Notable Metrics
| Key |
|---|
net_gamma |
net_delta |
gamma_source |
gamma_flip |
call_wall |
put_wall |
distance_to_flip_pct |
spot_position_label |
net_vex |
net_chex |
underlying_price |
Regime Values
positive_gamma_compressionnegative_gamma_accelerationtransition
Errors
| Status | error |
When |
|---|---|---|
400 | invalid_expiry | expiry is present but not yyyy-MM-dd. |
403 | tier_restricted | Caller is below the Growth plan. |
404 | symbol_not_found | No market data for the symbol. |
About
Dealer regime reads where market makers sit in gamma. From net gamma and net delta, the dealer levels (gamma flip, call wall, put wall), and full vanna/charm exposure, it labels the regime as positive-gamma compression (dealers dampen moves), negative-gamma acceleration (dealers amplify moves), or a transition between the two.
In compressive, positive-gamma regimes the strategy proposes an iron condor to harvest the expected range-bound behaviour. Restrict aggregation to one expiry with expiry when you want a single-tenor read.
Common Use Cases
- Gate strategy on the regime - read
regimeto sell premium inpositive_gamma_compressionand stand aside innegative_gamma_acceleration - Act on the decision - trade only when
decisioniscandidate, and skipno_setupreads without manual review - Drop in the proposed structure - pull
best_structures[]for a ready iron-condor with strikes, credit, and breakevens in compressive regimes - Catch the turn early - watch for the
transitionregime and thenet_gammasign flipping around the gamma flip as an early warning - Size on conviction - scale exposure by
scoreandconfidence, and combine net vanna/charm with gamma to gauge regime stability - Respect the guardrails - honor
risk_flags[]and require a cleandata_qualitybefore committing capital
Related
Related reading
- Dealer positioning & GEX: a quantitative approach - the gamma mechanics behind the regime label
- ML on options data: a quant guide - feed the regime envelope into a systematic model
- Alpha decay: which signals erode - how fast a regime read goes stale
Complementary endpoints
- Strategy Signals overview - the shared decision envelope across every strategy
- Flow Anomaly - confirm the regime with directional flow tilt
- Vol Carry - pair the regime read with a VRP edge before selling premium
Ready to build?
Get your free API key and start pulling live options data in 30 seconds.