Get Market Breadth
get_market_breadthRetrieve market breadth aggregates (advance/decline, percent above 50DMA/200DMA, 52-week highs/lows) for SP500, NDX, or all stocks. Use to add market-state context to commentary.
Instructions
Get market breadth aggregates (advance/decline counts and ratio, percent of constituents above their 50DMA and 200DMA, and counts of new 52-week highs/lows) for a chosen universe (sp500, ndx, or all). Use to add market-state context to commentary, tweets, or daily summaries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| universe | No | Universe to aggregate over: sp500, ndx, or all (default sp500) | sp500 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No |