mirror of
https://github.com/0xrsydn/idx-cli.git
synced 2026-11-07 09:45:36 +00:00
Landing page plus docs for install, quickstart, config, the stocks and ownership CLI, output and exit codes, the MCP server and per-agent setup, agent usage, and an agent-led install page (agents/install.md) that a coding agent follows from a one-line prompt. - Every docs page is also served as Markdown at <path>.md; llms.txt and llms-full.txt come from starlight-llms-txt; a SKILL.md for skill-based harnesses is under /skills/idx/. - The CLI reference and MCP tools pages are generated from idx --help and the tools golden; a new web-generated flake check fails when they drift. - nix develop .#web provides bun; Cloudflare Pages builds web/ on pushes. - Package homepage metadata points at https://idx.rasyidanaf.com. - .cloudflare/ (the cf CLI's account cache) is git-ignored. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1.9 KiB
1.9 KiB
| name | description |
|---|---|
| idx | Indonesian stock market (IDX) quotes, fundamentals, technicals, screening, and KSEI shareholder ownership through the `idx` CLI. Use for questions about IDX-listed stocks (tickers like BBCA, BBRI, TLKM), who owns them, or ownership changes. |
idx
idx is installed as a CLI. Docs: https://idx.rasyidanaf.com (any page as Markdown: add .md).
Rules
- Capture output: it is JSON whenever stdout is not a terminal. Parse it; don't scrape tables.
- On failure stdout is empty and stderr is
{"error":true,"code":"...","message":"..."}. Exit2fix the input,3not found or no cached data,4provider unavailable (retry later),5unsupported. - Tickers are IDX codes (
BBCA);.JKis optional.stocks quoteandstocks comparetake several. - Ownership data is local. If an ownership command says the database is empty, run
idx ownership synconce. - Ownership percentages are basis points:
5494= 54.94%.
Commands
idx stocks quote BBCA BBRI # price, change, volume, 52-week range
idx stocks history BBCA --period 1y # OHLCV; --interval 1d|1wk|1mo
idx stocks technical BBCA # trend, RSI, MACD, moving averages
idx stocks fundamental BBCA # growth, valuation, risk ratings
idx stocks compare BBCA BBRI BMRI
idx stocks profile BBCA # also: financials, earnings, sentiment, insights, news
idx stocks screen --filter high-dividend # top-performers, worst-performers, low-pe, 52w-high, 52w-low, high-volume, large-cap
idx ownership ticker BBCA # holders above 1%, concentration, free float
idx ownership entity "ANTHONI SALIM" # one investor's holdings
idx ownership search salim # find investor names
idx ownership releases # available months, newest first
idx ownership changes --from 2026-08-31 --to 2026-09-30
Run idx <command> --help for every flag.