Skip to content
Trading Calendar

Holidays

Query the list of holidays, used to maintain the non-trading days excluded from trading calendars.

Request parameters

  • Combine business filters through filters (see the filter field descriptions below), and use page, page_size, and orderBy to control pagination and sorting.

Business notes

Each record corresponds to one holiday, carrying the holiday name, date, and the trading calendars that currently reference it.

Holidays and trading calendars form a many-to-many relationship: the same holiday can be referenced by multiple calendars and is used to exclude the corresponding non-trading days from trading days.

A filter on the calendar name and a filter by year (holiday date) support reviewing holiday arrangements by calendar or by year.

Returns

On success, returns the matching record list with pagination. See the response definition for column meanings.

POSThttps://b-api.lbkrs.com/v1/datasets/fund_holiday_calendars

Authorization

AuthorizationstringheaderRequired

Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.

Permission

fund_general_management.trading_calendar

The Broker ACCESS_TOKEN must be granted the permission above, or the call will be rejected.

Request body application/json

filtersobject

Filters

Child attributes
namestring

Name

EXTRACT(YEAR FROM holidays.date)string

Holiday Date

pageinteger

Page

page_sizeinteger

Page Size

orderByarray<object>

Order By

Responses

HTTP 200Paginated list result.
Standard response envelopecodemessagedata
dataobjectdata structure
listarray<object>required

List

Child attributes
idstring

Record ID. Returned value: Record ID (row primary key); write operations on this record take it as their id.

namestring

Holiday Name

datestring

Date

calendar_namesstring

Calendar Using

totalintegerrequired

Total

HTTP 400Bad request. Check the business error code in code and the error details in message.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 401The user is not authenticated, or the login session has expired.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 403The current account is not authorized to use this feature. Grant the required permission to the account in User Permission.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 408The request timed out. Check the business error code in code and the error details in message.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

Whale Docs