technicals_breadth
Calculate market breadth technical indicators like McClellan Oscillator, OBV, and Advance/Decline Line directly from price data. Specify tickers and date range to get indicator values.
Instructions
Market breadth technical indicators (McClellan Oscillator, OBV, Advance/Decline Line, Chaikin). Applied to price data automatically — no need to fetch prices first. Requires tickers='AAPL' — use comma-separated values for multiple tickers.
Available indicators: get_mcclellan_oscillator, get_advancers_decliners, get_on_balance_volume, get_accumulation_distribution_line, get_chaikin_oscillator.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| indicator | Yes | Name of the specific metric to calculate, e.g. 'get_asset_turnover_ratio'. Required — omitting it returns the list of available indicators. | |
| tickers | No | Comma-separated ticker symbols, e.g. 'AAPL,MSFT,GOOGL'. | |
| start_date | No | Start of the date range in YYYY-MM-DD format. | 2021-06-22 |
| end_date | No | End of the date range in YYYY-MM-DD format. | 2026-06-21 |
| quarterly | No | Return quarterly data instead of annual when True. | |
| benchmark_ticker | No | Ticker used as the market benchmark, e.g. 'SPY' or '^GSPC'. | SPY |
| period | No | Observation frequency, e.g. 'monthly', 'quarterly', or 'annual'. | daily |
| close_column | No | Value for close_column. | Adj Close |
| short_ema_window | No | Value for short_ema_window. | |
| long_ema_window | No | Value for long_ema_window. | |
| rounding | No | Number of decimal places to round results to. | |
| growth | No | Return period-over-period growth rates instead of absolute values. | |
| lag | No | Number of periods to lag when computing growth rates. | |
| short_window | No | Value for short_window. | |
| long_window | No | Value for long_window. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |