context
Retrieve market or stock context including sector rotation, regime, and breadth metrics.
Instructions
Situational data about a target.
target accepts four shapes:
- "market" (default): SPY/QQQ regime + sector rotation +
breadth + macro
- "SYMBOL" (e.g. "NVDA"): ticker metadata + sector + market cap
- {"symbol": "NVDA", "date": "2024-08-05"}: anchor metadata —
sector, cap, point-in-time regime, news, days_since_earnings,
etc. Lightweight; no kNN.
- "system": DB coverage stats (embedding count, daily bar count,
date range)
Args:
target: "market" | "SYMBOL" | {symbol, date} | "system"Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | market |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |