TradingCalendar

Resolve tenor or date to business date

Resolves a tenor symbol or ISO date to an actual business date using the specified trading calendar. Supports standard tenors (TOD, ON, 1M, etc.) and broken dates (YYYY-MM-DD). Returns the resolved date with adjustment information if the date required adjustment to a business day.

get/api-regulated/v1/trading-calendars/{symbol}/resolve-tenor

Request

  • Base URL: https://api.currencyguard.com
  • URL: https://api.currencyguard.com/api-regulated/v1/trading-calendars/{symbol}/resolve-tenor
  • Auth: HTTP bearer

Path parameters

symbolstring required

Calendar symbol (GBPUSD for FX settlement, GBP for domestic, USNY for financial center)

Query parameters

tenorstring required

Tenor symbol or ISO date to resolve (e.g., TOD, ON, 1M, 3M, 1Y, 2025-12-25)

referenceDatestring

Reference date in YYYY-MM-DD format (optional, defaults to current date)

Response

Tenor or date resolved successfully

tenor'TOD' | 'ON' | 'TN' | 'SN' | '1D' | '2D' | '3D' | '1W' | '2W' | '1M' | '2M' | '3M' | '6M' | '9M' | '1Y' | 'YYYY-MM-DD'

The original tenor symbol or broken date from the request. Can be a standard tenor (TOD, ON, 1M, etc.) or an ISO date (YYYY-MM-DD)

tenorDatestring

The resolved business date in ISO format (YYYY-MM-DD). Always a valid business day after adjustment. Null only if resolution failed.

isBusinessDayboolean

Whether the originally requested tenor or date was already a business day (true) or required adjustment (false). Note: the returned tenorDate is always a business day.

adjustmentReason'weekend_adjustment' | 'holiday_adjustment' nullable

Reason for date adjustment when the calculated date fell on a non-business day

Example response

{
  "tenor": "1M",
  "tenorDate": "2025-02-03",
  "isBusinessDay": true,
  "adjustmentReason": "weekend_adjustment"
}

Changes

No recorded changes to this operation across all 1 revision of this API.