idx-cli/web
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
..
public feat(web): idx website and user docs (Astro Starlight) 2026-10-15 05:12:45 +00:00
scripts feat(web): idx website and user docs (Astro Starlight) 2026-10-15 05:12:45 +00:00
src feat: corporate actions from the Stockbit session (stocks actions, stocks calendar) 2026-11-03 14:35:20 +07:00
.gitignore feat(web): idx website and user docs (Astro Starlight) 2026-10-15 05:12:45 +00:00
astro.config.mjs docs(web): Stockbit intraday on the quickstart, landing page and agent notes 2026-10-23 07:15:24 +00:00
bun.lock feat(web): Open Graph images for the landing page and docs pages 2026-10-15 06:32:14 +00:00
DESIGN.md feat(web): Open Graph images for the landing page and docs pages 2026-10-15 06:32:14 +00:00
package.json feat(web): Open Graph images for the landing page and docs pages 2026-10-15 06:32:14 +00:00
tsconfig.json feat(web): idx website and user docs (Astro Starlight) 2026-10-15 05:12:45 +00:00