Skip to main content
POST
/
quantlib
/
scheduling
/
adjustment
/
adjust-date
Adjust Date
curl --request POST \
  --url https://finceptbackend.share.zrok.io/quantlib/scheduling/adjustment/adjust-date \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "date": "2024-12-25",
  "adjustment": "Modified Following",
  "calendar": "US"
}
'
{
  "success": true,
  "data": {
    "original_date": "2024-12-25",
    "adjusted_date": "2024-12-26",
    "adjustment": "Modified Following",
    "calendar": "US",
    "was_adjusted": true
  }
}

Authorizations

X-API-Key
string
header
required

API key for authentication. Get your key at https://finceptbackend.share.zrok.io/auth/register

Body

application/json
date
string<date>
required

Date to adjust in ISO format (YYYY-MM-DD)

Example:

"2024-12-25"

adjustment
enum<string>
default:Modified Following

Business day adjustment convention. Following: next business day. Modified Following: next business day unless it crosses month boundary, then previous. Preceding: previous business day. Modified Preceding: previous business day unless it crosses month boundary, then next. Unadjusted: no adjustment

Available options:
Following,
Modified Following,
Preceding,
Modified Preceding,
Unadjusted
Example:

"Modified Following"

calendar
enum<string>
default:Weekend

Calendar to use for determining business days

Available options:
US,
UK,
TARGET,
Japan,
Weekend
Example:

"US"

Response

Successful Response

success
boolean
Example:

true

data
object