idx-cli/web
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
..
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 fix(stockbit): bid/offer while trading; drop stale foreign flow 2026-11-03 14:02:03 +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