The clock API serves the current market timestamp, whether or not the market is currently open, as well as the times of the next market open and close.
Sample Clock Object
{
"timestamp": "2022-04-28T14:07:04.451420928-04:00",
"is_open": true,
"next_open": "2022-04-29T09:30:00-04:00",
"next_close": "2022-04-28T16:00:00-04:00"
}
Properties
Attribute | Type | Description |
---|---|---|
timestamp | string | Current timestamp |
is_open | boolean | Whether or not the market is open |
next_open | string | Next market open timestamp |
next_close | string | Next market close timestamp |