Skip to main content
POST
Adjust a date using a business-day convention.

Authorizations

Authorization
string
header
required

OAuth2 access-token requested from AWS Cognito and provided as a Auth Bearer header

Body

The calculation payload containing a calendar, the date to adjust as an ISO 8601 date/time value, and the BDC enum value that selects the business-day convention.

Selects a calendar, date, and business-day convention for date adjustment.

$type
enum<string>
required
Available options:
Derivitec.Web.Core.MarketData.ApiAdjustBusinessDayRequest, Derivitec.Web.Core
calendar
object

Named business-day calendar with holiday dates and weekend treatment.

date
string<date-time>

Calendar date to adjust.

bdc
enum<string>

Convention that determines how a non-business date is adjusted.

Available options:
actual,
following,
modified_following,
preceding,
modified_preceding

Response

Returns the adjusted date as a UTC date/time value.

Returns the UTC date and time produced by the requested business-day convention.

$type
enum<string>
required
Available options:
Derivitec.Web.Core.MarketData.ApiAdjustBusinessDayResponse, Derivitec.Web.Core
is_success
boolean

Whether the operation completed successfully. The default is true; error outcomes set it to false.

Example:

true

error_messages
string[] | null

Messages explaining operation-level failures. The collection is empty by default.

date
string<date-time>

Adjusted UTC date and time.