Skip to content
Start Trading

Calendar

Access clocks and financial calendars for market sessions and events.

Get Clock
client.V1.Calendar.GetClock(ctx) (*V1CalendarGetClockResponse, error)
GET/v1/clock
Get Market Hours Calendar.
client.V1.Calendar.GetMarketHoursCalendar(ctx, query) (*V1CalendarGetMarketHoursCalendarResponse, error)
GET/v1/calendars/market-hours
Get Economic Calendar Events
client.V1.Calendar.GetEconomicEventsCalendar(ctx, query) (*V1CalendarGetEconomicEventsCalendarResponse, error)
GET/v1/calendars/economic-events
ModelsExpand Collapse
type ClockDetail struct{…}

Current server time and market clock information

Clock Time

Current server time in UTC

formatdate-time
type DayType string

Day type for market hours - indicates the type of trading day

One of the following:
const DayTypeTradingDay DayType = "TRADING_DAY"
const DayTypeEarlyClose DayType = "EARLY_CLOSE"
const DayTypeHoliday DayType = "HOLIDAY"
const DayTypeWeekend DayType = "WEEKEND"
type EconomicEvent struct{…}

A single economic calendar event.

Coverage spans roughly 365 days back to 90 days forward. estimate and actual are frequently absent for minor releases, speeches, and holidays. The calendar refreshes daily (around 7am ET), so actual can trail the real-world print by up to a day; a null actual before the print is expected, not missing data.

Country string

ISO 3166-1 alpha-2 country code, or EU.

Name string

Event name as reported by the provider.

Timestamp Time

UTC instant of the event.

formatdate-time
Actual stringOptional

Actual reported value. Null before the print, or if the provider never reports one for this event. When a null/undefined value is observed, it indicates that there is no available data.

Change stringOptional

Change from the previous value. When a null/undefined value is observed, it indicates that there is no available data.

ChangePercentage stringOptional

Change from the previous value, as a percentage. When a null/undefined value is observed, it indicates that there is no available data.

Currency stringOptional

Currency associated with the event, if applicable. When a null/undefined value is observed, it indicates that there is no available data.

Estimate stringOptional

Analyst-estimated value. When a null/undefined value is observed, it indicates that there is no available data.

Impact EconomicEventImpactOptional

Expected market impact, if known. When a null/undefined value is observed, it indicates that there is no available data.

One of the following:
const EconomicEventImpactNone EconomicEventImpact = "NONE"
const EconomicEventImpactLow EconomicEventImpact = "LOW"
const EconomicEventImpactMedium EconomicEventImpact = "MEDIUM"
const EconomicEventImpactHigh EconomicEventImpact = "HIGH"

Previous period’s reported value. When a null/undefined value is observed, it indicates that there is no available data.

Unit EconomicEventUnitOptional

Unit of the numeric value fields, if known. When a null/undefined value is observed, it indicates that there is no available data.

type EconomicEventImpact string

Market impact of an economic calendar event.

One of the following:
const EconomicEventImpactNone EconomicEventImpact = "NONE"
const EconomicEventImpactLow EconomicEventImpact = "LOW"
const EconomicEventImpactMedium EconomicEventImpact = "MEDIUM"
const EconomicEventImpactHigh EconomicEventImpact = "HIGH"
type EconomicEventList []EconomicEvent
Country string

ISO 3166-1 alpha-2 country code, or EU.

Name string

Event name as reported by the provider.

Timestamp Time

UTC instant of the event.

formatdate-time
Actual stringOptional

Actual reported value. Null before the print, or if the provider never reports one for this event. When a null/undefined value is observed, it indicates that there is no available data.

Change stringOptional

Change from the previous value. When a null/undefined value is observed, it indicates that there is no available data.

ChangePercentage stringOptional

Change from the previous value, as a percentage. When a null/undefined value is observed, it indicates that there is no available data.

Currency stringOptional

Currency associated with the event, if applicable. When a null/undefined value is observed, it indicates that there is no available data.

Estimate stringOptional

Analyst-estimated value. When a null/undefined value is observed, it indicates that there is no available data.

Impact EconomicEventImpactOptional

Expected market impact, if known. When a null/undefined value is observed, it indicates that there is no available data.

One of the following:
const EconomicEventImpactNone EconomicEventImpact = "NONE"
const EconomicEventImpactLow EconomicEventImpact = "LOW"
const EconomicEventImpactMedium EconomicEventImpact = "MEDIUM"
const EconomicEventImpactHigh EconomicEventImpact = "HIGH"

Previous period’s reported value. When a null/undefined value is observed, it indicates that there is no available data.

Unit EconomicEventUnitOptional

Unit of the numeric value fields, if known. When a null/undefined value is observed, it indicates that there is no available data.

type EconomicEventUnit string

Unit of an economic calendar event’s numeric values. Known values: %, K (thousand), M (million), B (billion), T (trillion), Points. Any other provider-supplied string passes through unchanged.

type MarketHoursDetail struct{…}

Comprehensive market hours information for a specific market and date

CurrentTime Time

Current time in market timezone with offset

formatdate-time
Date Time

The date for which market hours are provided

formatdate
Market MarketType

Market type identifier

One of the following:
const MarketTypeUsEquities MarketType = "us_equities"
const MarketTypeUsOptions MarketType = "us_options"
MarketName string

Human-readable market name

NextSessions TradingSessions

Next trading day’s session schedules (without time_until fields)

AfterHours SessionScheduleOptional

After-hours session schedule, null if not available When a null/undefined value is observed, it indicates it does not apply.

Close Time

Session close timestamp with timezone offset

formatdate-time
Open Time

Session open timestamp with timezone offset

formatdate-time
TimeUntilClose stringOptional

ISO 8601 duration until session closes. Null if session is not currently open. When a null/undefined value is observed, it indicates it does not apply.

formatduration
TimeUntilOpen stringOptional

ISO 8601 duration until session opens. Null if session has already started or closed. When a null/undefined value is observed, it indicates it does not apply.

formatduration
Maintenance SessionScheduleOptional

Scheduled maintenance window. The market is closed inside it, even when it falls within another session. Null if none is scheduled for the day. When a null/undefined value is observed, it indicates it does not apply.

Close Time

Session close timestamp with timezone offset

formatdate-time
Open Time

Session open timestamp with timezone offset

formatdate-time
TimeUntilClose stringOptional

ISO 8601 duration until session closes. Null if session is not currently open. When a null/undefined value is observed, it indicates it does not apply.

formatduration
TimeUntilOpen stringOptional

ISO 8601 duration until session opens. Null if session has already started or closed. When a null/undefined value is observed, it indicates it does not apply.

formatduration
Overnight SessionScheduleOptional

Overnight session schedule (prior evening through early morning), null if not available When a null/undefined value is observed, it indicates it does not apply.

Close Time

Session close timestamp with timezone offset

formatdate-time
Open Time

Session open timestamp with timezone offset

formatdate-time
TimeUntilClose stringOptional

ISO 8601 duration until session closes. Null if session is not currently open. When a null/undefined value is observed, it indicates it does not apply.

formatduration
TimeUntilOpen stringOptional

ISO 8601 duration until session opens. Null if session has already started or closed. When a null/undefined value is observed, it indicates it does not apply.

formatduration
PreMarket SessionScheduleOptional

Pre-market session schedule, null if not available When a null/undefined value is observed, it indicates it does not apply.

Close Time

Session close timestamp with timezone offset

formatdate-time
Open Time

Session open timestamp with timezone offset

formatdate-time
TimeUntilClose stringOptional

ISO 8601 duration until session closes. Null if session is not currently open. When a null/undefined value is observed, it indicates it does not apply.

formatduration
TimeUntilOpen stringOptional

ISO 8601 duration until session opens. Null if session has already started or closed. When a null/undefined value is observed, it indicates it does not apply.

formatduration
Regular SessionScheduleOptional

Regular trading session schedule, null if holiday/weekend When a null/undefined value is observed, it indicates it does not apply.

Close Time

Session close timestamp with timezone offset

formatdate-time
Open Time

Session open timestamp with timezone offset

formatdate-time
TimeUntilClose stringOptional

ISO 8601 duration until session closes. Null if session is not currently open. When a null/undefined value is observed, it indicates it does not apply.

formatduration
TimeUntilOpen stringOptional

ISO 8601 duration until session opens. Null if session has already started or closed. When a null/undefined value is observed, it indicates it does not apply.

formatduration

Market status information

DayType DayType

The type of trading day

One of the following:
const DayTypeTradingDay DayType = "TRADING_DAY"
const DayTypeEarlyClose DayType = "EARLY_CLOSE"
const DayTypeHoliday DayType = "HOLIDAY"
const DayTypeWeekend DayType = "WEEKEND"
IsOpen bool

Whether the market is currently open (real-time)

CurrentSession MarketSessionTypeOptional

Current session type if market is open, null if closed When a null/undefined value is observed, it indicates it does not apply.

One of the following:
const MarketSessionTypeOvernight MarketSessionType = "overnight"
const MarketSessionTypePreMarket MarketSessionType = "pre_market"
const MarketSessionTypeRegular MarketSessionType = "regular"
const MarketSessionTypeAfterHours MarketSessionType = "after_hours"
Timezone string

IANA timezone identifier for the market

TodaySessions TradingSessions

Trading session schedules for the requested date with time_until fields

AfterHours SessionScheduleOptional

After-hours session schedule, null if not available When a null/undefined value is observed, it indicates it does not apply.

Close Time

Session close timestamp with timezone offset

formatdate-time
Open Time

Session open timestamp with timezone offset

formatdate-time
TimeUntilClose stringOptional

ISO 8601 duration until session closes. Null if session is not currently open. When a null/undefined value is observed, it indicates it does not apply.

formatduration
TimeUntilOpen stringOptional

ISO 8601 duration until session opens. Null if session has already started or closed. When a null/undefined value is observed, it indicates it does not apply.

formatduration
Maintenance SessionScheduleOptional

Scheduled maintenance window. The market is closed inside it, even when it falls within another session. Null if none is scheduled for the day. When a null/undefined value is observed, it indicates it does not apply.

Close Time

Session close timestamp with timezone offset

formatdate-time
Open Time

Session open timestamp with timezone offset

formatdate-time
TimeUntilClose stringOptional

ISO 8601 duration until session closes. Null if session is not currently open. When a null/undefined value is observed, it indicates it does not apply.

formatduration
TimeUntilOpen stringOptional

ISO 8601 duration until session opens. Null if session has already started or closed. When a null/undefined value is observed, it indicates it does not apply.

formatduration
Overnight SessionScheduleOptional

Overnight session schedule (prior evening through early morning), null if not available When a null/undefined value is observed, it indicates it does not apply.

Close Time

Session close timestamp with timezone offset

formatdate-time
Open Time

Session open timestamp with timezone offset

formatdate-time
TimeUntilClose stringOptional

ISO 8601 duration until session closes. Null if session is not currently open. When a null/undefined value is observed, it indicates it does not apply.

formatduration
TimeUntilOpen stringOptional

ISO 8601 duration until session opens. Null if session has already started or closed. When a null/undefined value is observed, it indicates it does not apply.

formatduration
PreMarket SessionScheduleOptional

Pre-market session schedule, null if not available When a null/undefined value is observed, it indicates it does not apply.

Close Time

Session close timestamp with timezone offset

formatdate-time
Open Time

Session open timestamp with timezone offset

formatdate-time
TimeUntilClose stringOptional

ISO 8601 duration until session closes. Null if session is not currently open. When a null/undefined value is observed, it indicates it does not apply.

formatduration
TimeUntilOpen stringOptional

ISO 8601 duration until session opens. Null if session has already started or closed. When a null/undefined value is observed, it indicates it does not apply.

formatduration
Regular SessionScheduleOptional

Regular trading session schedule, null if holiday/weekend When a null/undefined value is observed, it indicates it does not apply.

Close Time

Session close timestamp with timezone offset

formatdate-time
Open Time

Session open timestamp with timezone offset

formatdate-time
TimeUntilClose stringOptional

ISO 8601 duration until session closes. Null if session is not currently open. When a null/undefined value is observed, it indicates it does not apply.

formatduration
TimeUntilOpen stringOptional

ISO 8601 duration until session opens. Null if session has already started or closed. When a null/undefined value is observed, it indicates it does not apply.

formatduration
type MarketHoursDetailList []MarketHoursDetail
CurrentTime Time

Current time in market timezone with offset

formatdate-time
Date Time

The date for which market hours are provided

formatdate
Market MarketType

Market type identifier

One of the following:
const MarketTypeUsEquities MarketType = "us_equities"
const MarketTypeUsOptions MarketType = "us_options"
MarketName string

Human-readable market name

NextSessions TradingSessions

Next trading day’s session schedules (without time_until fields)

AfterHours SessionScheduleOptional

After-hours session schedule, null if not available When a null/undefined value is observed, it indicates it does not apply.

Close Time

Session close timestamp with timezone offset

formatdate-time
Open Time

Session open timestamp with timezone offset

formatdate-time
TimeUntilClose stringOptional

ISO 8601 duration until session closes. Null if session is not currently open. When a null/undefined value is observed, it indicates it does not apply.

formatduration
TimeUntilOpen stringOptional

ISO 8601 duration until session opens. Null if session has already started or closed. When a null/undefined value is observed, it indicates it does not apply.

formatduration
Maintenance SessionScheduleOptional

Scheduled maintenance window. The market is closed inside it, even when it falls within another session. Null if none is scheduled for the day. When a null/undefined value is observed, it indicates it does not apply.

Close Time

Session close timestamp with timezone offset

formatdate-time
Open Time

Session open timestamp with timezone offset

formatdate-time
TimeUntilClose stringOptional

ISO 8601 duration until session closes. Null if session is not currently open. When a null/undefined value is observed, it indicates it does not apply.

formatduration
TimeUntilOpen stringOptional

ISO 8601 duration until session opens. Null if session has already started or closed. When a null/undefined value is observed, it indicates it does not apply.

formatduration
Overnight SessionScheduleOptional

Overnight session schedule (prior evening through early morning), null if not available When a null/undefined value is observed, it indicates it does not apply.

Close Time

Session close timestamp with timezone offset

formatdate-time
Open Time

Session open timestamp with timezone offset

formatdate-time
TimeUntilClose stringOptional

ISO 8601 duration until session closes. Null if session is not currently open. When a null/undefined value is observed, it indicates it does not apply.

formatduration
TimeUntilOpen stringOptional

ISO 8601 duration until session opens. Null if session has already started or closed. When a null/undefined value is observed, it indicates it does not apply.

formatduration
PreMarket SessionScheduleOptional

Pre-market session schedule, null if not available When a null/undefined value is observed, it indicates it does not apply.

Close Time

Session close timestamp with timezone offset

formatdate-time
Open Time

Session open timestamp with timezone offset

formatdate-time
TimeUntilClose stringOptional

ISO 8601 duration until session closes. Null if session is not currently open. When a null/undefined value is observed, it indicates it does not apply.

formatduration
TimeUntilOpen stringOptional

ISO 8601 duration until session opens. Null if session has already started or closed. When a null/undefined value is observed, it indicates it does not apply.

formatduration
Regular SessionScheduleOptional

Regular trading session schedule, null if holiday/weekend When a null/undefined value is observed, it indicates it does not apply.

Close Time

Session close timestamp with timezone offset

formatdate-time
Open Time

Session open timestamp with timezone offset

formatdate-time
TimeUntilClose stringOptional

ISO 8601 duration until session closes. Null if session is not currently open. When a null/undefined value is observed, it indicates it does not apply.

formatduration
TimeUntilOpen stringOptional

ISO 8601 duration until session opens. Null if session has already started or closed. When a null/undefined value is observed, it indicates it does not apply.

formatduration

Market status information

DayType DayType

The type of trading day

One of the following:
const DayTypeTradingDay DayType = "TRADING_DAY"
const DayTypeEarlyClose DayType = "EARLY_CLOSE"
const DayTypeHoliday DayType = "HOLIDAY"
const DayTypeWeekend DayType = "WEEKEND"
IsOpen bool

Whether the market is currently open (real-time)

CurrentSession MarketSessionTypeOptional

Current session type if market is open, null if closed When a null/undefined value is observed, it indicates it does not apply.

One of the following:
const MarketSessionTypeOvernight MarketSessionType = "overnight"
const MarketSessionTypePreMarket MarketSessionType = "pre_market"
const MarketSessionTypeRegular MarketSessionType = "regular"
const MarketSessionTypeAfterHours MarketSessionType = "after_hours"
Timezone string

IANA timezone identifier for the market

TodaySessions TradingSessions

Trading session schedules for the requested date with time_until fields

AfterHours SessionScheduleOptional

After-hours session schedule, null if not available When a null/undefined value is observed, it indicates it does not apply.

Close Time

Session close timestamp with timezone offset

formatdate-time
Open Time

Session open timestamp with timezone offset

formatdate-time
TimeUntilClose stringOptional

ISO 8601 duration until session closes. Null if session is not currently open. When a null/undefined value is observed, it indicates it does not apply.

formatduration
TimeUntilOpen stringOptional

ISO 8601 duration until session opens. Null if session has already started or closed. When a null/undefined value is observed, it indicates it does not apply.

formatduration
Maintenance SessionScheduleOptional

Scheduled maintenance window. The market is closed inside it, even when it falls within another session. Null if none is scheduled for the day. When a null/undefined value is observed, it indicates it does not apply.

Close Time

Session close timestamp with timezone offset

formatdate-time
Open Time

Session open timestamp with timezone offset

formatdate-time
TimeUntilClose stringOptional

ISO 8601 duration until session closes. Null if session is not currently open. When a null/undefined value is observed, it indicates it does not apply.

formatduration
TimeUntilOpen stringOptional

ISO 8601 duration until session opens. Null if session has already started or closed. When a null/undefined value is observed, it indicates it does not apply.

formatduration
Overnight SessionScheduleOptional

Overnight session schedule (prior evening through early morning), null if not available When a null/undefined value is observed, it indicates it does not apply.

Close Time

Session close timestamp with timezone offset

formatdate-time
Open Time

Session open timestamp with timezone offset

formatdate-time
TimeUntilClose stringOptional

ISO 8601 duration until session closes. Null if session is not currently open. When a null/undefined value is observed, it indicates it does not apply.

formatduration
TimeUntilOpen stringOptional

ISO 8601 duration until session opens. Null if session has already started or closed. When a null/undefined value is observed, it indicates it does not apply.

formatduration
PreMarket SessionScheduleOptional

Pre-market session schedule, null if not available When a null/undefined value is observed, it indicates it does not apply.

Close Time

Session close timestamp with timezone offset

formatdate-time
Open Time

Session open timestamp with timezone offset

formatdate-time
TimeUntilClose stringOptional

ISO 8601 duration until session closes. Null if session is not currently open. When a null/undefined value is observed, it indicates it does not apply.

formatduration
TimeUntilOpen stringOptional

ISO 8601 duration until session opens. Null if session has already started or closed. When a null/undefined value is observed, it indicates it does not apply.

formatduration
Regular SessionScheduleOptional

Regular trading session schedule, null if holiday/weekend When a null/undefined value is observed, it indicates it does not apply.

Close Time

Session close timestamp with timezone offset

formatdate-time
Open Time

Session open timestamp with timezone offset

formatdate-time
TimeUntilClose stringOptional

ISO 8601 duration until session closes. Null if session is not currently open. When a null/undefined value is observed, it indicates it does not apply.

formatduration
TimeUntilOpen stringOptional

ISO 8601 duration until session opens. Null if session has already started or closed. When a null/undefined value is observed, it indicates it does not apply.

formatduration
type MarketSessionType string

Session type for market hours

One of the following:
const MarketSessionTypeOvernight MarketSessionType = "overnight"
const MarketSessionTypePreMarket MarketSessionType = "pre_market"
const MarketSessionTypeRegular MarketSessionType = "regular"
const MarketSessionTypeAfterHours MarketSessionType = "after_hours"
type MarketStatus struct{…}

Market status information

DayType DayType

The type of trading day

One of the following:
const DayTypeTradingDay DayType = "TRADING_DAY"
const DayTypeEarlyClose DayType = "EARLY_CLOSE"
const DayTypeHoliday DayType = "HOLIDAY"
const DayTypeWeekend DayType = "WEEKEND"
IsOpen bool

Whether the market is currently open (real-time)

CurrentSession MarketSessionTypeOptional

Current session type if market is open, null if closed When a null/undefined value is observed, it indicates it does not apply.

One of the following:
const MarketSessionTypeOvernight MarketSessionType = "overnight"
const MarketSessionTypePreMarket MarketSessionType = "pre_market"
const MarketSessionTypeRegular MarketSessionType = "regular"
const MarketSessionTypeAfterHours MarketSessionType = "after_hours"
type MarketType string

Market type for market hours calendar endpoint

One of the following:
const MarketTypeUsEquities MarketType = "us_equities"
const MarketTypeUsOptions MarketType = "us_options"
type SessionSchedule struct{…}

Session schedule with open and close timestamps

Close Time

Session close timestamp with timezone offset

formatdate-time
Open Time

Session open timestamp with timezone offset

formatdate-time
TimeUntilClose stringOptional

ISO 8601 duration until session closes. Null if session is not currently open. When a null/undefined value is observed, it indicates it does not apply.

formatduration
TimeUntilOpen stringOptional

ISO 8601 duration until session opens. Null if session has already started or closed. When a null/undefined value is observed, it indicates it does not apply.

formatduration
type TradingSessions struct{…}

Trading sessions for a market day with full timestamps

AfterHours SessionScheduleOptional

After-hours session schedule, null if not available When a null/undefined value is observed, it indicates it does not apply.

Close Time

Session close timestamp with timezone offset

formatdate-time
Open Time

Session open timestamp with timezone offset

formatdate-time
TimeUntilClose stringOptional

ISO 8601 duration until session closes. Null if session is not currently open. When a null/undefined value is observed, it indicates it does not apply.

formatduration
TimeUntilOpen stringOptional

ISO 8601 duration until session opens. Null if session has already started or closed. When a null/undefined value is observed, it indicates it does not apply.

formatduration
Maintenance SessionScheduleOptional

Scheduled maintenance window. The market is closed inside it, even when it falls within another session. Null if none is scheduled for the day. When a null/undefined value is observed, it indicates it does not apply.

Close Time

Session close timestamp with timezone offset

formatdate-time
Open Time

Session open timestamp with timezone offset

formatdate-time
TimeUntilClose stringOptional

ISO 8601 duration until session closes. Null if session is not currently open. When a null/undefined value is observed, it indicates it does not apply.

formatduration
TimeUntilOpen stringOptional

ISO 8601 duration until session opens. Null if session has already started or closed. When a null/undefined value is observed, it indicates it does not apply.

formatduration
Overnight SessionScheduleOptional

Overnight session schedule (prior evening through early morning), null if not available When a null/undefined value is observed, it indicates it does not apply.

Close Time

Session close timestamp with timezone offset

formatdate-time
Open Time

Session open timestamp with timezone offset

formatdate-time
TimeUntilClose stringOptional

ISO 8601 duration until session closes. Null if session is not currently open. When a null/undefined value is observed, it indicates it does not apply.

formatduration
TimeUntilOpen stringOptional

ISO 8601 duration until session opens. Null if session has already started or closed. When a null/undefined value is observed, it indicates it does not apply.

formatduration
PreMarket SessionScheduleOptional

Pre-market session schedule, null if not available When a null/undefined value is observed, it indicates it does not apply.

Close Time

Session close timestamp with timezone offset

formatdate-time
Open Time

Session open timestamp with timezone offset

formatdate-time
TimeUntilClose stringOptional

ISO 8601 duration until session closes. Null if session is not currently open. When a null/undefined value is observed, it indicates it does not apply.

formatduration
TimeUntilOpen stringOptional

ISO 8601 duration until session opens. Null if session has already started or closed. When a null/undefined value is observed, it indicates it does not apply.

formatduration
Regular SessionScheduleOptional

Regular trading session schedule, null if holiday/weekend When a null/undefined value is observed, it indicates it does not apply.

Close Time

Session close timestamp with timezone offset

formatdate-time
Open Time

Session open timestamp with timezone offset

formatdate-time
TimeUntilClose stringOptional

ISO 8601 duration until session closes. Null if session is not currently open. When a null/undefined value is observed, it indicates it does not apply.

formatduration
TimeUntilOpen stringOptional

ISO 8601 duration until session opens. Null if session has already started or closed. When a null/undefined value is observed, it indicates it does not apply.

formatduration