getTradingCalendarType

Syntax

getTradingCalendarType(marketName)

Arguments

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.

Details

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

Return value: A STRING scalar of "holidayDate" or "tradingDate".

Examples

getTradingCalendarType("SZSE")

Output: holidayDate