Open Today
FreeValueStandardPro
Check whether the market is open today.
- Retrieves current day equity market schedule
- *On days when the market closes early at 1:00 PM ET; eligible options will trade until 1:15 PM.
- **Some NYSE exchanges will continue late trading until 5:00 PM ET on early close days.
rust
pub fn calendar_open_today(&self) -> CalendarOpenTodayBuilder<'_>Execute with .await → Result<Vec<CalendarDay>, Error>, or decode chunk-by-chunk with .stream(handler).
Example
rust
let rows = tdx.calendar_open_today().await?;
for t in &rows {
println!("date={} is_open={} status={}", t.date, t.is_open, t.status);
}Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
timeout_ms | int | no | — | Per-request deadline in milliseconds. 0 means no deadline. |
Response
Rows of CalendarDay:
| Field | Type | Description |
|---|---|---|
date | i32 | Calendar date as a YYYYMMDD integer. 0 when the server omits the column (single-day endpoints). |
is_open | bool | Whether the market trades at all on this date (true for open and early-close days). |
open_time | i32 | Market open time, milliseconds since midnight ET. |
close_time | i32 | Market close time, milliseconds since midnight ET. |
status | string | Vendor day classification: open, early_close, full_close, or weekend. |
Example response
date | is_open | open_time | close_time | status |
|---|---|---|---|---|
| 0 | true | 34200000 | 57600000 | open |
Decoded from a captured production response; 1 of 1 rows shown.