getTradingCalendarType

Syntax

getTradingCalendarType(marketName)

Details

Get the type of the trading calendar of a specified exchange.

Parameters

marketName is a STRING scalar, indicating the identifier of the trading calendar, e.g., the Market Identifier Code of an exchange, or a user-defined calendar name.

Returns

A STRING scalar of "holidayDate" or "tradingDate".

Examples

getTradingCalendarType("SZSE")

Output: holidayDate