market_session
Check the current IDX trading session—pre-opening, session 1, midday break, session 2, post-closing, or shut—before treating empty quotes, movers, or order books as data failures.
Instructions
Where the IDX trading day currently is: pre-opening, session 1, the midday break, session 2, post-closing, or shut. Call this BEFORE concluding that an empty movers list, a still order queue or a silent tape means something is broken. Outside 09:00-16:00 WIB (Mon-Fri, excluding IDX holidays) every live feed in this server is legitimately empty. Takes no arguments and is cached for 5 seconds only, because a stale session flag makes every judgement built on it wrong. PENDING VERIFICATION: this response shape has not been observed live.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||