{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "fzn0x-idx--screen-idx-stocks-by-valuation",
 "repo": "fzn0x/idx",
 "repo_url": "https://github.com/fzn0x/idx",
 "repo_slug": "fzn0x-idx",
 "title": "Screen about 950 IDX stocks by valuation and sector",
 "page_title": "How to screen about 950 IDX stocks by valuation and sector with Idx",
 "summary": "Filter the IDX universe with one expression, for example low P/E financial stocks.",
 "who": "An analyst or investor building a shortlist of Indonesian stocks that match a valuation rule and a sector.",
 "problem": "Finding stocks that meet a P/E limit and a sector label means checking hundreds of tickers by hand.",
 "outcome": "A ranked list of matching IDX tickers with their key valuation figures, produced from one filter string.",
 "steps": [
  "Install Idx with `npm install -g github:fzn0x/idx` or `cargo install ihsg-cli`.",
  "Run `idx stocks screen -f \"pe 15,sector=financial\"` to get stocks with P/E under 15 in the financial sector. (inferred, check the README)",
  "Add `-o json` before `stocks` to save the result for a spreadsheet or script, for example `idx -o json stocks screen -f \"pe 15,sector=financial\"`. (inferred, check the README)",
  "Run `idx stocks fundamental <TICKER>` on one of the results to read the rules behind its verdict. (inferred, check the README)"
 ],
 "agent_prompt": "Use the idx tool from the fzn0x/idx repo to run `idx -o json stocks screen -f \"<filter>\"` where <filter> is a rule such as pe 15,sector=financial. Return the matching tickers with their P/E and sector as a table. Verify that the count of results matches the length of the returned data array.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The screener caps per-company fundamentals at a set number of tickers, largest first, so smaller stocks may not be checked.",
 "category": "Data and analytics",
 "tags": [
  "Data and analytics"
 ],
 "lang": "rust",
 "requirements": [
  "Rust 1.88 or newer for cargo install, or Node.js and npm for the npm route",
  "An internet connection for the first run (offline mode serves cached data only)",
  "A terminal on Linux, macOS or Windows"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/fzn0x-idx/screen-idx-stocks-by-valuation/",
 "md": "https://dedupedai.com/use-cases/fzn0x-idx/screen-idx-stocks-by-valuation/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/fzn0x-idx--screen-idx-stocks-by-valuation.json",
 "api_version": "v1"
}
