Skip to main content
GET
Get current market context

Response

Market context

Market-wide context for informed trading decisions.

Combines data from:

  • DayClassification vertex (daily market type)
  • MarketCondition vertex (VIX, breadth, term structure)
  • Alpaca trading calendar (market hours / holiday awareness)
trade_date
string
required

Trading date in YYYY-MM-DD format

day_classification
DayClassification · object
required

Daily market classification from DayClassification vertex.

vix_regime
VIXContext · object
required

VIX-related context from MarketCondition vertex.

is_market_open
boolean
default:false

Whether the US stock market is currently open (holiday and early-close aware)

market_conditions
string[]

Active market condition flags (e.g., 'LOW_VIX', 'BULLISH_BREADTH')

favored_strategies
string[]

Strategy types favored in current conditions

regime_dominant_v5
string | null

V5 regime dominant state (e.g., STRONG_TREND, ROTATIONAL)

regime_v5
RegimeV5 · object | null

Full V5 regime probability vector (6-state with confidence)

regime_direction
string | null

Regime direction: BULL, SIDEWAYS, or BEAR

regime_volatility
string | null

Regime volatility: HIGH or LOW

regime_label
string | null

Human-readable regime label (e.g., 'Steady Uptrend')

regime_episode_day
integer | null

Consecutive days in current regime

regime_shock
boolean | null

Whether a transient shock override is active

regime_slope_pctile
number | null

0-100 percentile of 50d OLS slope

regime_vol_pctile
number | null

0-100 percentile of 20d Parkinson vol

regime_slope_raw
number | null

Annualized % OLS slope

regime_vol_raw
number | null

Annualized % Parkinson vol

regime_spy_perf
number | null

SPY return (%) since regime start

regime_qqq_perf
number | null

QQQ return (%) since regime start