idx-cli/crates/idx-mcp
0xrsydn 32f476bae7 fix(stockbit): bid/offer while trading; drop stale foreign flow
Observed in session on 2026-11-03:

- The regular board trades as STATE_NAME_SESSION_2, not the assumed
  STATE_NAME_MARKET_OPEN, so session quotes hid bid/offer all day. Any
  numbered STATE_NAME_SESSION_<n> now counts as trading; the lunch break
  is STATE_NAME_BREAK.
- In session the order book's fbuy/fsell/fnet were the previous session's
  (equal to IPOT's 2026-11-02 net for BBCA, BBRI and TLKM) and
  has_foreign_bs was false. Foreign figures are kept only when that flag
  is true.

Fixtures for the break, the trading state and an in-session book; the
table names the session ("market open (session 2)").

Claude-Session: https://claude.ai/code/session_01RqPPVeVDrnLoP7NUZmLRxY
2026-11-03 14:02:03 +07:00
..
src fix(stockbit): bid/offer while trading; drop stale foreign flow 2026-11-03 14:02:03 +07:00
tests fix(stockbit): bid/offer while trading; drop stale foreign flow 2026-11-03 14:02:03 +07:00
Cargo.toml feat(stockbit): one browser sign-in in idx-core for the CLI and MCP 2026-10-31 23:58:21 +07:00
LICENSE feat(mcp): add idx-mcp, a stdio MCP server over idx-core 2026-10-14 18:19:04 +00:00