# listAllMarkets {#listAllMarkets}

**Parent topic:**[Functions](../../Functions/category.md)

## Syntax {#syntax}

`listAllMarkets()`

## Details {#details}

Retrieves the trading calendars of all markets available on the current node.

**Return value**: A vector indicating all trading calendars on the node.

## Examples {#examples}

``` {#codeblock_gdt_vwp_dfc}
listAllMarkets()
// ["XTSE", "XCSE", "XLIM", "ADDA", "XSTO", "XIST", "AIXK", "SSE", "XMIL", "XFRA", "INE", "XMEX", "XBUD", "XICE", "XDUB", "SHFE", "CMES", "XOSL", "DCE", "CCFX", "CFFEX", "XIDX", "BVMF", "XBOG", "XKAR", "XSAU", "XBUE", "XTKS", "XBSE", "XMOS"...]
```

**Related functions:** [addMarketHoliday](../a/addMarketHoliday.md), [deleteMarketHoliday](../d/deleteMarketHoliday.md)

