Screen indices
screen_indicesScreen CSE sector/headline indices (ASPI, S&P SL20, and industry sub-indices) by the same pre-computed technical criteria as screen_stocks — moving-average position and relative-strength rating. There is no 52-week-range or volume filter here (those are not tracked for indices). Use this to find which sectors are in a sustained uptrend/downtrend, as distinct from get_indices/get_index_data which show a single day's performance. Returns CSV, one row per matching index.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Trading date to evaluate the screen as of, in YYYY-MM-DD format. Defaults to the latest available trading date when omitted. | |
| sort | No | Column to sort by. Default rs_rating. | |
| limit | No | Max results to return; the underlying screener defaults to 20 when omitted. | |
| order | No | Sort direction. Default desc. | |
| above_ema21 | No | When set, filters to results whose price is currently above (true) or below (false) its 21-day exponential moving average. | |
| above_ema50 | No | When set, filters to results whose price is currently above (true) or below (false) its 50-day exponential moving average. | |
| above_sma10 | No | When set, filters to results whose price is currently above (true) or below (false) its 10-day simple moving average. | |
| above_ema200 | No | When set, filters to results whose price is currently above (true) or below (false) its 200-day exponential moving average — a long-term trend filter. | |
| rs_rating_max | No | Maximum relative-strength rating (1-99 percentile rank vs. the whole market) to include. | |
| rs_rating_min | No | Minimum relative-strength rating (1-99 percentile rank vs. the whole market). E.g. 80+ for market leaders. | |
| change_pct_max | No | Only include results whose today's percentage price change is at most this value (e.g. -5 for a -5% or worse move). | |
| change_pct_min | No | Only include results whose today's percentage price change is at least this value (e.g. 5 for a +5% or greater move). |