# getTradingCalendarType {#getTradingCalendarType}

## Syntax {#syntax}

`getTradingCalendarType(marketName)`

## Arguments {#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 {#details}

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

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

## Examples {#examples}

``` {#codeblock_w3x_n4c_s1c}
getTradingCalendarType("SZSE")
```

Output: holidayDate

