Stock Screener
v0.4.0Daily stock screens, RS ratings, market breadth and group rankings for 12 markets.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_markets
List the markets that have published data, so you know which market codes the other tools accept and how fresh each one is. Call this first when the user names a country or exchange, or asks how current the data is. For one market's health, breadth and leading groups, use market_overview instead. Each market returns its code (pass it as `market` to the other tools), name, as_of_date (the trading day the data covers), status ("current"; "late" if it is behind its latest completed session or its next update is over a day overdue; or "unknown"), and features: which of "s…
list_screens
Preset screens (Minervini, CANSLIM, VCP, chart patterns, momentum...) with their exact rules. Pass a screen's id to run_screen or audit_stocks.
| Parameter | Type | Description |
|---|---|---|
market | string | Market code, e.g. US, HK, JP, IN, DE. See list_markets. |
describe_fields
Define scan fields and count what a market's rows hold for them. Call it before quoting or filtering on a field you have not used, because names mislead: volume is traded value rather than shares, and pct_day is a percentile rank rather than a percent change. Each field returns its group, type, unit and meaning. note says what a reader would otherwise get wrong, range appears only where the code guarantees a hard bound, and alias_of names the row field this name reads. rows_with_value counts this market's rows with a non-null, non-empty value. At 0 the field supports…
| Parameter | Type | Description |
|---|---|---|
fields | Exact field names to define, internal ones included; defaults to every public field. | |
group | Only the fields in this group, e.g. fundamentals. The response lists every group. | |
market | string | Market code, e.g. US, HK, JP, IN, DE. See list_markets. |
run_screen
Run a preset screen and/or custom filters over a market's full daily scan (every listed stock). A preset matches exactly the stocks the project's website shows for it. Filters are combined with AND, including with the preset.
| Parameter | Type | Description |
|---|---|---|
descending | boolean | Direction for sort_by; ignored without sort_by. |
filters | Extra conditions, all of which must hold. | |
limit | integer | Rows to return; total_matches counts all. |
market | string | Market code, e.g. US, HK, JP, IN, DE. See list_markets. |
screen | Preset id from list_screens, e.g. minervini, canslim, vcp. | |
sort_by | Field to sort by; defaults to the screen's own sort. |
get_stock
Everything the daily scan knows about one stock: RS ratings, stage, scores, growth, group rank, setup/pattern fields, and which preset screens it currently passes.
| Parameter | Type | Description |
|---|---|---|
symbol * | string | Ticker as listed in that market, e.g. NVDA, 0700.HK, 7203.T. |
market | string | Market code, e.g. US, HK, JP, IN, DE. See list_markets. |
audit_stocks
Check a watchlist or holdings against the preset screens in one call: which screens each stock passes, and which it nearly passes. Use it to review a list of stocks, find near misses, or see what a position fails today. Use get_stock for every field on one symbol, and run_screen to discover new candidates. A long list over every screen returns a lot of text, so pass a `screens` list when you only need some. Each stock returns a snapshot, `passes` (screen ids in list_screens order, matching the website and get_stock's passes_screens), near_misses, and notes when there…
| Parameter | Type | Description |
|---|---|---|
symbols * | array | Tickers to check in this market, e.g. a watchlist or holdings. |
detail | boolean | Also return every failed rule per screen under failed_rules. Responses over 80,000 characters are refused with a hint of how many symbols fit. |
market | string | Market code, e.g. US, HK, JP, IN, DE. See list_markets. |
screens | Preset ids from list_screens to check; defaults to every screen in the market. |
screen_track_record
What happened after stocks newly entered each preset screen, at one holding period. Use it to judge how much weight a screen's output deserves, or to see whether a screen has a record yet. Use run_screen for today's matches. Each call reports one horizon; call again with horizon=5 or horizon=60 for the others. Rows in `cohorts` keep the published order, which is not a ranking. how_to_read in each result defines the fields; read it before quoting a number. Any response over 80,000 characters of JSON is refused with an error; pass `screen` for one screen's rows.…
| Parameter | Type | Description |
|---|---|---|
horizon | integer | Sessions each pick is held: 5, 20 or 60. |
market | string | Market code, e.g. US, HK, JP, IN, DE. See list_markets. |
screen | Preset id, e.g. minervini. Retired screens that list_screens no longer has are still accepted; defaults to every recorded screen. |
what_changed
What changed in a market between two archived sessions. It lists the stocks that entered and left each preset screen, and for named symbols the screens they moved into and out of, the tracked fields that changed, and the tracked fields null in both sessions. Use it for "what changed since yesterday" or since a date. Use run_screen and get_stock for the newest publish, and screen_track_record for how entries did afterwards. With no dates it compares the two newest archived sessions. Moves where a field the screen's rules read went from null to a value, or back, are lis…
| Parameter | Type | Description |
|---|---|---|
limit | integer | Symbols listed per list in each screen, such as entered or new_to_publish. |
market | string | Market code, e.g. US, HK, JP, IN, DE. See list_markets. |
screen | Preset id, e.g. minervini, to report only that screen. | |
since | Older date, YYYY-MM-DD. Picks the newest archived session on or before it and before until; defaults to the session just before until. | |
symbols | Tickers to report one by one, with the screens each entered and left and its changed fields. | |
until | Newer date, YYYY-MM-DD. Picks the newest archived session on or before it; defaults to the newest. |
market_overview
Market health in one call: exposure score and stance (distribution days, follow-through day, trend), StockBee-style breadth (4% movers, 5/10-day ratios, T2108, 52-week highs/lows), key index/asset moves, and the strongest industry groups.
| Parameter | Type | Description |
|---|---|---|
market | string | Market code, e.g. US, HK, JP, IN, DE. See list_markets. |
group_rankings
Rank a market's IBD-style industry groups by their stocks' relative strength (1 = strongest), with 1W/1M/3M/6M rank changes and this week's biggest movers. Use it to find leading or improving industries. Pass `group` (full name, or any part of it that matches only one group) for that group's rank history and its stocks, strongest RS first. For a quick top-5 alongside breadth, market_overview is enough; to filter stocks by group rank, use run_screen with ibd_group_rank. Rankings are end-of-day and update once a day.
| Parameter | Type | Description |
|---|---|---|
group | Industry group name for its detail and constituents. | |
limit | integer | Groups to return, or with `group`, constituent stocks to return. |
market | string | Market code, e.g. US, HK, JP, IN, DE. See list_markets. |