S&P 500 Risk Regime
The S&P 500 Risk Regime dataset provides a daily, point-in-time binary classification of prevailing equity market conditions.
Each observation reflects whether the S&P 500 was classified as being in a risk-off (1) or risk-on (0) regime on that date.
This dataset is designed for systematic traders and researchers who require a stable, reproducible market state signal for filtering, sizing, or regime-aware modeling.
Why it’s useful
Use this dataset to:
Filter strategies during elevated volatility or selloff regimes
Dynamically scale position size based on market conditions
Improve risk-adjusted returns via regime-aware allocation
Segment backtests into bull vs stress environments
Study behavioral or factor performance across volatility states
Because the regime is calculated point-in-time and stored historically, it can be used without introducing lookahead bias.
Endpoint
Base URL:
Authentication
All requests require an API key.
Pass your key either:
As a query parameter:
?api_key=your_keyOr via header:
Sample Request
Python
cURL
Request Parameters
api_key (required)
Your Alphanume API key.
date (optional)
Return regime classification for a single date (YYYY-MM-DD).
Example:
date_gte / date_lte / date_gt / date_lt (optional)
Filter by date range.
All dates must be provided in YYYY-MM-DD format.
Any logically valid combination is accepted.
Examples:
If no date filters are provided, all available historical observations are returned (subject to tier-based limits).
Response Format
Responses are returned in JSON format.
Example:
Response Fields
Field | Type | Description |
|---|---|---|
date | string | Observation date (YYYY-MM-DD) |
risk_regime | integer | Binary regime classification |
Regime Definition
risk_regime
1 → Risk-Off
Elevated volatility and/or stress conditions. Historically associated with defensive positioning and higher downside risk.0 → Risk-On
Lower volatility and constructive equity conditions. Historically associated with trend persistence and risk-seeking behavior.
The classification is derived from forward-looking implied volatility metrics and is stored as a fixed daily regime label.
Historical values are not retroactively altered.
Notes on Data Behavior
New observations are updated daily, at 10:10 AM (America/New York Time)
Dates are returned as
YYYY-MM-DDValues are point-in-time
Historical regime labels remain fixed once published
Results are ordered by
date DESC
Typical Use Cases
Conditioning equity exposure on volatility state
Improving Sharpe by avoiding participation in high-stress regimes
Feature engineering for ML-based trading systems
Comparing factor returns across risk environments
Stress-testing strategy robustness