mirror of
https://github.com/0xrsydn/idx-cli.git
synced 2026-11-07 09:45:36 +00:00
Merge pull request #73 from 0xrsydn/feat/stockbit
feat: login-free Stockbit intraday and quote provider
This commit is contained in:
commit
be9d17bb80
157 changed files with 14699 additions and 481 deletions
18
README.md
18
README.md
|
|
@ -71,6 +71,7 @@ idx stocks history BBCA --period 3mo
|
|||
idx stocks technical BBCA
|
||||
idx stocks fundamental BBCA
|
||||
idx stocks compare BBCA BBRI BMRI
|
||||
idx stocks intraday BBCA # today by the minute (Stockbit, delayed)
|
||||
idx -o json stocks quote BBCA
|
||||
|
||||
# Ownership: download the maintained snapshot once, then query locally
|
||||
|
|
@ -90,8 +91,16 @@ idx ownership changes --from 2026-07-31 --to 2026-08-31
|
|||
- Analysis: `technical`, `growth`, `valuation`, `risk`, and a combined
|
||||
`fundamental` report; multi-symbol `compare`; MSN stock `screen`
|
||||
- Providers: MSN is the default for quotes, fundamentals, and screening;
|
||||
Yahoo serves history. Switch with `IDX_PROVIDER=msn|yahoo` and
|
||||
`IDX_HISTORY_PROVIDER=auto|yahoo|msn`
|
||||
Yahoo serves history. Switch with `--provider`/`IDX_PROVIDER=msn|yahoo|stockbit`
|
||||
and `IDX_HISTORY_PROVIDER=auto|yahoo|msn|stockbit`
|
||||
- Stockbit, opt-in: without a login, `stocks intraday` (today's price by the
|
||||
minute) and `--provider stockbit` quotes with the best bid/offer while the
|
||||
market is open, delayed at least 10 minutes. With your own account
|
||||
(`idx stockbit login`): `stocks orderbook` depth, live
|
||||
quotes, Stockbit daily history, and corporate actions (`stocks actions`,
|
||||
`stocks calendar`: dividends, rights, splits, meetings, IPOs and more), and
|
||||
insider and major holder buys and sells (`ownership movements`). Personal use under Stockbit's terms; see
|
||||
the [Stockbit page](https://idx.rasyidanaf.com/cli/stockbit/)
|
||||
- Local file cache with TTL, and `--offline` mode with stale-cache fallback
|
||||
|
||||
### Ownership (KSEI shareholders above 1%)
|
||||
|
|
@ -158,8 +167,9 @@ change it to `auto` with `idx config set general.output auto`.
|
|||
|
||||
## MCP server
|
||||
|
||||
`idx-mcp` serves the same data to MCP clients over stdio, as 14 tools:
|
||||
`get_quotes`, `get_price_history`, `screen_stocks`, `get_company`,
|
||||
`idx-mcp` serves the same data to MCP clients over stdio, as 21 tools:
|
||||
`get_quotes`, `get_intraday`, `get_orderbook`, `get_corporate_actions`,
|
||||
`get_corporate_calendar`, `get_shareholder_movements`, `stockbit_status`, `stockbit_login`, `get_price_history`, `screen_stocks`, `get_company`,
|
||||
`analyze_stock`, `compare_stocks`, `get_broker_summary`, `analyze_bandar`,
|
||||
`get_foreign_flow`, `get_shareholders`, `get_investor_holdings`,
|
||||
`search_investors`, `get_ownership_changes`, and `ownership_status`. Live results come wrapped as
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue