Get Trading Status
get_trading_statusRetrieve and verify current trading session status for instruments, including open/close state and next change time, with automatic cross-check against the day's schedule.
Instructions
Current trading session status per instrument: session type, OPEN/CLOSE, time of the next status change. Each row is cross-checked against today's schedule; on mismatch a warning + scheduleSaysNow field is added (the upstream status endpoint has been observed reporting CLOSE during an open evening session).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tickers | Yes | Tickers | |
| classCodes | No | Board class codes, same order as tickers (resolved via find_instrument when omitted) | |
| outputPath | No | Write the full result to this file (path relative to the output root: BCS_OUTPUT_DIR or server cwd) instead of returning it inline. The response becomes a short summary {savedTo, records, bytes, sample}. Use for bulk data to keep the context clean. For get_candles this also enables full-history fetching (chunking beyond the 1000-bar API limit). | |
| outputFormat | No | File format; default json (or csv if outputPath ends with .csv). csv writes the main flat array of the response. |