Repository navigation
Releases: fzn0x/idx
Release list
v0.6.0
v0.5.0
Install: curl -fsSL https://raw.githubusercontent.com/fzn0x/idx/main/install.sh | sh
v0.4.0
Install: curl -fsSL https://raw.githubusercontent.com/fzn0x/idx/main/install.sh | sh
v0.3.0
Install: curl -fsSL https://raw.githubusercontent.com/fzn0x/idx/main/install.sh | sh
v0.2.0
Install: curl -fsSL https://raw.githubusercontent.com/fzn0x/idx/main/install.sh | sh
v0.1.0
Added
stocks quote <SYMBOLS>: delayed quotes with price, change, OHLC, volume,
market cap, P/E, dividend yield and more, from Yahoo Finance. Falls back to
the chart endpoint (reduced fields) when the quote endpoint is unavailable.stocks history <SYMBOL> --period --interval --limit: OHLCV candles with a
summary line.-o json: stable envelope (idx.quotes.v1,idx.history.v1) with
provenance (provider,fetched_at,cached,stale,warnings).idx schema <name>: JSON Schema for every JSON shape.- Local response cache with per-endpoint TTL,
--offline,--no-cache, and
idx cache stats|clear|path. stocks screen --filter "pe<15,roe>15,sector=financial": screener over the
bundled IDX universe (955 issuers,data/universe.csv). Quote-level keys
come from batched Yahoo quotes; fundamentals keys from per-company calls
capped at--max-fundamentals(largest first). Reports how many tickers
each stage kept.stocks news [SYMBOL]andstocks sentiment SYMBOL: Kontan and CNBC
Indonesia RSS feeds, ticker/company-name matching, transparent lexicon
sentiment (terms are listed). Bisnis.com is opt-in because it blocks
non-browser clients.- MCP tools
idx_screen,idx_news,idx_sentiment. ownership import|ticker|entity|changes|releases|discover|path: KSEI's
monthly "Pemegang Saham di Atas 1%" register parsed from the IDX XLSX (or
the older PDF text layer) into local SQLite, with entity-name normalisation
so spelling variants of one holder group together. Downloads try a
browser-shaped request, thencurl-impersonate, else explain the manual
path (idx.co.id is behind Cloudflare).- MCP tools
idx_ownership_ticker,idx_ownership_entity,
idx_ownership_changes,idx_ownership_releases. idx mcp: MCP server over stdio (rmcp) exposingidx_quote,idx_history,
idx_profile,idx_financials,idx_earnings,idx_fundamental,
idx_technicalandidx_compare, each returning the-o jsonenvelope.stocks profile,stocks financials(annual / quarterly / TTM),stocks earnings,stocks fundamental(ratios plus a transparent rule-based
verdict),stocks technical(RSI, MACD, SMA/EMA, Bollinger, ATR, levels,
trend, signal) andstocks compare.- MSN Money provider (
--provider msn): quotes, profile, fundamentals and
analyst targets.autonow tries Yahoo then MSN and merges fundamentals
field by field, never averaging. - Yahoo quoteSummary and fundamentals-timeseries endpoints.
web/: Cloudflare Worker serving the landing page at
https://ihsg.midoriresearch.com, reachable on the custom domain only.- Config file with
idx config init|set|get|path; precedence flags > env > file > defaults. - Shell completions for bash, zsh, fish, PowerShell and elvish.
- Stable exit codes (0 ok, 2 usage, 3 network/provider, 4 not found,
5 offline cache miss, 6 config).
Install:curl -fsSL https://raw.githubusercontent.com/fzn0x/idx/main/install.sh | sh
Ownership data: KSEI >1% register mirror
Automatic mirror of the KSEI "Pemegang Saham di Atas 1%" register published monthly by the Indonesia Stock Exchange at https://www.idx.co.id/id/perusahaan-tercatat/data-kepemilikan-saham/ .
Files are byte-for-byte copies of the IDX workbooks; index.json lists each release with its original IDX URL and SHA-256, and the *.partNN.json files are the parsed rows the web terminal at https://ihsg.midoriresearch.com loads. Refreshed by .github/workflows/ownership.yml. idx ownership import --latest uses this mirror when idx.co.id refuses the request.
Source: Indonesia Stock Exchange (IDX) / KSEI. Holders below 1% are not published.