idx-cli/docs
0xrsydn 43ff4aa433 feat: corporate actions from the Stockbit session (stocks actions, stocks calendar)
`idx stocks actions SYM [--kind ...]`: one stock's cash and stock
dividends, bonus shares, rights, warrants, splits and reverse splits,
meetings, public exposes and tender offers (`--kind ipo` adds its IPO),
newest first. `idx stocks calendar [--from] [--to] [--kind ...]`: the
market's actions dated in the range (default today and 30 days ahead),
oldest first. MCP: get_corporate_actions, get_corporate_calendar.

Stockbit's `/corpaction/{type}` serves one kind per request; each type has
its own field prefix and list key, so entitlements are read by field
suffix. An action's `date` is the cum date for entitlements, else the
event's first day. Dividends keep their decimals. One request per kind,
cached 6 hours. AUTHERROR without a session.

Fixtures are the 2026-11-03 recordings (market-wide ones trimmed to
October-December). Goldens added; help-stocks and completions-bash gain
the two subcommands, MCP tools.json the two tools (regenerated with
UPDATE_GOLDEN=1). The MCP docs counted 17 tools without stockbit_login;
now 20.

Claude-Session: https://claude.ai/code/session_01RqPPVeVDrnLoP7NUZmLRxY
2026-11-03 14:35:20 +07:00
..
ARCHITECTURE.md feat: corporate actions from the Stockbit session (stocks actions, stocks calendar) 2026-11-03 14:35:20 +07:00
CONVENTIONS.md refactor(core): compile the mock provider only with a testing feature 2026-10-14 09:31:12 +00:00
DESIGN.md feat: login-free Stockbit intraday and quote provider 2026-10-23 04:58:32 +00:00
IDX_NEWS.md docs: news sources research: one publisher, Google News, greencloud test 2026-10-16 09:54:30 +00:00
INSTALL.md chore: release 0.4.0 2026-10-19 10:50:06 +00:00
NPM_DISTRIBUTION.md chore: release 0.4.0 2026-10-19 10:50:06 +00:00
OWNERSHIP_PUBLISH.md fix(ownership): update syncs when a same-date snapshot is rebuilt 2026-10-14 18:52:13 +00:00
OWNERSHIP_SYNC.md fix(sync): atomic install, stored-row validation, no local artifacts from remote manifests 2026-10-17 12:23:58 +00:00
SMOKE.md feat: Stockbit login for the order book, live quotes and daily history 2026-10-23 08:35:57 +00:00
STOCKBIT.md feat: corporate actions from the Stockbit session (stocks actions, stocks calendar) 2026-11-03 14:35:20 +07:00