idx-cli/crates/idx-core/tests/fixtures
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
..
bing_buyers_bbca.json refactor: split into idx-core library and idx-cli binary workspace 2026-10-14 09:13:46 +00:00
bing_holders_bbca.json refactor: split into idx-core library and idx-cli binary workspace 2026-10-14 09:13:46 +00:00
chart_bbca_1d.json refactor: split into idx-core library and idx-cli binary workspace 2026-10-14 09:13:46 +00:00
chart_bbca_3mo.json refactor: split into idx-core library and idx-cli binary workspace 2026-10-14 09:13:46 +00:00
chart_bbca_with_gap.json refactor: split into idx-core library and idx-cli binary workspace 2026-10-14 09:13:46 +00:00
idx_announcement_kepemilikan.json refactor: split into idx-core library and idx-cli binary workspace 2026-10-14 09:13:46 +00:00
idx_share_ownership_page_excerpt.html refactor: split into idx-core library and idx-cli binary workspace 2026-10-14 09:13:46 +00:00
idx_stocksummary_20261012.json feat: foreign flow (idx stocks flow, get_foreign_flow) 2026-10-18 05:39:12 +00:00
idx_stocksummary_20261013.json feat: foreign flow (idx stocks flow, get_foreign_flow) 2026-10-18 05:39:12 +00:00
idx_stocksummary_20261014.json feat: foreign flow (idx stocks flow, get_foreign_flow) 2026-10-18 05:39:12 +00:00
idx_stocksummary_20261015.json feat: foreign flow (idx stocks flow, get_foreign_flow) 2026-10-18 05:39:12 +00:00
idx_stocksummary_20261016.json feat: foreign flow (idx stocks flow, get_foreign_flow) 2026-10-18 05:39:12 +00:00
idx_stocksummary_20261017.json feat: foreign flow (idx stocks flow, get_foreign_flow) 2026-10-18 05:39:12 +00:00
ipot_brokersummary_bbca_20261012.html feat: foreign flow from IPOT by default (--source ipot|idx) 2026-10-18 06:40:22 +00:00
ipot_brokersummary_bbca_20261012_20261016.html feat(core): broker summaries from IPOT 2026-10-18 04:28:38 +00:00
ipot_brokersummary_bbca_20261012_foreign_all.html feat: foreign flow from IPOT by default (--source ipot|idx) 2026-10-18 06:40:22 +00:00
ipot_brokersummary_bbca_20261013.html feat: foreign flow from IPOT by default (--source ipot|idx) 2026-10-18 06:40:22 +00:00
ipot_brokersummary_bbca_20261013_foreign_all.html feat: foreign flow from IPOT by default (--source ipot|idx) 2026-10-18 06:40:22 +00:00
ipot_brokersummary_bbca_20261014.html feat: foreign flow from IPOT by default (--source ipot|idx) 2026-10-18 06:40:22 +00:00
ipot_brokersummary_bbca_20261014_foreign_all.html feat: foreign flow from IPOT by default (--source ipot|idx) 2026-10-18 06:40:22 +00:00
ipot_brokersummary_bbca_20261015.html feat: foreign flow from IPOT by default (--source ipot|idx) 2026-10-18 06:40:22 +00:00
ipot_brokersummary_bbca_20261015_foreign_all.html feat: foreign flow from IPOT by default (--source ipot|idx) 2026-10-18 06:40:22 +00:00
ipot_brokersummary_bbca_20261016.html feat(core): broker summaries from IPOT 2026-10-18 04:28:38 +00:00
ipot_brokersummary_bbca_20261016_domestic_all.html feat: bandar and broker totals for one investor side 2026-10-18 06:08:02 +00:00
ipot_brokersummary_bbca_20261016_foreign_all.html feat: bandar and broker totals for one investor side 2026-10-18 06:08:02 +00:00
ipot_brokersummary_bbca_20261016_foreign_regular.html feat(core): broker summaries from IPOT 2026-10-18 04:28:38 +00:00
ipot_brokersummary_bbca_20261017.html feat(core): broker summaries from IPOT 2026-10-18 04:28:38 +00:00
ipot_brokersummary_bbri_20261016.html feat: bandarmology (idx stocks bandar, analyze_bandar) 2026-10-18 05:34:37 +00:00
ipot_brokersummary_tlkm_20261016.html feat: bandarmology (idx stocks bandar, analyze_bandar) 2026-10-18 05:34:37 +00:00
ipot_brokersummary_zzzz_invalid.html feat(core): broker summaries from IPOT 2026-10-18 04:28:38 +00:00
ksei_above1_20260831_excerpt.xlsx refactor: split into idx-core library and idx-cli binary workspace 2026-10-14 09:13:46 +00:00
ksei_above1_spaced_stext_excerpt.xml refactor: split into idx-core library and idx-cli binary workspace 2026-10-14 09:13:46 +00:00
ksei_above1_stext_excerpt.xml refactor: split into idx-core library and idx-cli binary workspace 2026-10-14 09:13:46 +00:00
ksei_above1_stext_excerpt_prev.xml refactor: split into idx-core library and idx-cli binary workspace 2026-10-14 09:13:46 +00:00
ksei_above5_20260923_excerpt.xlsx refactor: split into idx-core library and idx-cli binary workspace 2026-10-14 09:13:46 +00:00
ksei_above5_stext_excerpt.xml refactor: split into idx-core library and idx-cli binary workspace 2026-10-14 09:13:46 +00:00
ksei_announcement_wrapper_stext_excerpt.xml refactor: split into idx-core library and idx-cli binary workspace 2026-10-14 09:13:46 +00:00
ksei_balancepos_20260130_excerpt.txt refactor: split into idx-core library and idx-cli binary workspace 2026-10-14 09:13:46 +00:00
ksei_balancepos_20260227_excerpt.txt refactor: split into idx-core library and idx-cli binary workspace 2026-10-14 09:13:46 +00:00
ksei_investor_type_stext_excerpt.xml refactor: split into idx-core library and idx-cli binary workspace 2026-10-14 09:13:46 +00:00
ksei_stext_sample.xml refactor: split into idx-core library and idx-cli binary workspace 2026-10-14 09:13:46 +00:00
msn_chart_bbca_3m.json refactor: split into idx-core library and idx-cli binary workspace 2026-10-14 09:13:46 +00:00
msn_chart_bbca_3mo.json refactor: split into idx-core library and idx-cli binary workspace 2026-10-14 09:13:46 +00:00
msn_earnings_bbca.json refactor: split into idx-core library and idx-cli binary workspace 2026-10-14 09:13:46 +00:00
msn_financials_bbca.json refactor: split into idx-core library and idx-cli binary workspace 2026-10-14 09:13:46 +00:00
msn_insights_bbca.json refactor: split into idx-core library and idx-cli binary workspace 2026-10-14 09:13:46 +00:00
msn_keyratios_bbca.json refactor: split into idx-core library and idx-cli binary workspace 2026-10-14 09:13:46 +00:00
msn_keyratios_industry_only.json refactor: split into idx-core library and idx-cli binary workspace 2026-10-14 09:13:46 +00:00
msn_keyratios_infinity.json refactor: split into idx-core library and idx-cli binary workspace 2026-10-14 09:13:46 +00:00
msn_keyratios_negative_infinity.json refactor: split into idx-core library and idx-cli binary workspace 2026-10-14 09:13:46 +00:00
msn_news_bbca.json refactor: split into idx-core library and idx-cli binary workspace 2026-10-14 09:13:46 +00:00
msn_profile_bbca.json refactor: split into idx-core library and idx-cli binary workspace 2026-10-14 09:13:46 +00:00
msn_quote_bbca.json refactor: split into idx-core library and idx-cli binary workspace 2026-10-14 09:13:46 +00:00
msn_screener_id_topperfs.json refactor: split into idx-core library and idx-cli binary workspace 2026-10-14 09:13:46 +00:00
msn_sentiment_bbca.json refactor: split into idx-core library and idx-cli binary workspace 2026-10-14 09:13:46 +00:00
quotesummary_bbca.json refactor: split into idx-core library and idx-cli binary workspace 2026-10-14 09:13:46 +00:00
stockbit_blocked_403.html feat: login-free Stockbit intraday and quote provider 2026-10-23 04:58:32 +00:00
stockbit_exodus_chart_candle_bbca_1m.json feat: Stockbit login for the order book, live quotes and daily history 2026-10-23 08:35:57 +00:00
stockbit_exodus_chart_candle_bbca_1y.json feat: Stockbit login for the order book, live quotes and daily history 2026-10-23 08:35:57 +00:00
stockbit_exodus_corpaction_bonus.json feat: corporate actions from the Stockbit session (stocks actions, stocks calendar) 2026-11-03 14:35:20 +07:00
stockbit_exodus_corpaction_dividend.json feat: corporate actions from the Stockbit session (stocks actions, stocks calendar) 2026-11-03 14:35:20 +07:00
stockbit_exodus_corpaction_dividend_bbca.json feat: corporate actions from the Stockbit session (stocks actions, stocks calendar) 2026-11-03 14:35:20 +07:00
stockbit_exodus_corpaction_ipo.json feat: corporate actions from the Stockbit session (stocks actions, stocks calendar) 2026-11-03 14:35:20 +07:00
stockbit_exodus_corpaction_pubex.json feat: corporate actions from the Stockbit session (stocks actions, stocks calendar) 2026-11-03 14:35:20 +07:00
stockbit_exodus_corpaction_pubex_bbca.json feat: corporate actions from the Stockbit session (stocks actions, stocks calendar) 2026-11-03 14:35:20 +07:00
stockbit_exodus_corpaction_reversesplit.json feat: corporate actions from the Stockbit session (stocks actions, stocks calendar) 2026-11-03 14:35:20 +07:00
stockbit_exodus_corpaction_rightissue.json feat: corporate actions from the Stockbit session (stocks actions, stocks calendar) 2026-11-03 14:35:20 +07:00
stockbit_exodus_corpaction_rups.json feat: corporate actions from the Stockbit session (stocks actions, stocks calendar) 2026-11-03 14:35:20 +07:00
stockbit_exodus_corpaction_rups_bbca.json feat: corporate actions from the Stockbit session (stocks actions, stocks calendar) 2026-11-03 14:35:20 +07:00
stockbit_exodus_corpaction_stock_dividend.json feat: corporate actions from the Stockbit session (stocks actions, stocks calendar) 2026-11-03 14:35:20 +07:00
stockbit_exodus_corpaction_stocksplit.json feat: corporate actions from the Stockbit session (stocks actions, stocks calendar) 2026-11-03 14:35:20 +07:00
stockbit_exodus_corpaction_stocksplit_bbca.json feat: corporate actions from the Stockbit session (stocks actions, stocks calendar) 2026-11-03 14:35:20 +07:00
stockbit_exodus_corpaction_tenderoffer.json feat: corporate actions from the Stockbit session (stocks actions, stocks calendar) 2026-11-03 14:35:20 +07:00
stockbit_exodus_corpaction_warrant.json feat: corporate actions from the Stockbit session (stocks actions, stocks calendar) 2026-11-03 14:35:20 +07:00
stockbit_exodus_credential_storage_cookie_constructed.txt feat: Stockbit login for the order book, live quotes and daily history 2026-10-23 08:35:57 +00:00
stockbit_exodus_login_refresh_constructed.json feat: Stockbit login for the order book, live quotes and daily history 2026-10-23 08:35:57 +00:00
stockbit_exodus_market_session.json feat: Stockbit login for the order book, live quotes and daily history 2026-10-23 08:35:57 +00:00
stockbit_exodus_market_session_break.json fix(stockbit): bid/offer while trading; drop stale foreign flow 2026-11-03 14:02:03 +07:00
stockbit_exodus_market_session_trading.json fix(stockbit): bid/offer while trading; drop stale foreign flow 2026-11-03 14:02:03 +07:00
stockbit_exodus_orderbook_bbca.json feat: Stockbit login for the order book, live quotes and daily history 2026-10-23 08:35:57 +00:00
stockbit_exodus_orderbook_bbca_in_session.json fix(stockbit): bid/offer while trading; drop stale foreign flow 2026-11-03 14:02:03 +07:00
stockbit_exodus_orderbook_ihsg.json feat: Stockbit login for the order book, live quotes and daily history 2026-10-23 08:35:57 +00:00
stockbit_exodus_orderbook_zzzz.json feat: Stockbit login for the order book, live quotes and daily history 2026-10-23 08:35:57 +00:00
stockbit_exodus_unauthorized.json feat: Stockbit login for the order book, live quotes and daily history 2026-10-23 08:35:57 +00:00
stockbit_symbol_bbca.html feat: login-free Stockbit intraday and quote provider 2026-10-23 04:58:32 +00:00
stockbit_symbol_ihsg.html feat: login-free Stockbit intraday and quote provider 2026-10-23 04:58:32 +00:00
stockbit_symbol_maba.html feat: login-free Stockbit intraday and quote provider 2026-10-23 04:58:32 +00:00
stockbit_symbol_myrx.html feat: login-free Stockbit intraday and quote provider 2026-10-23 04:58:32 +00:00
stockbit_symbol_zzzz_404.html feat: login-free Stockbit intraday and quote provider 2026-10-23 04:58:32 +00:00