> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.ninjatrader.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.ninjatrader.com/_mcp/server.

# Holidays

## Definition

A collection of full holidays configured for a Trading Hours template. Holidays are days which fall outside of the regular trading schedule.

For more information please see the "Understanding trading holidays" section of the [Using the Trading Hours](https://ninjatrader.com/support/helpGuides/nt8/?using_the_trading_hours_window.htm) window.

## Property Value

A **Dictionary** holding a collection of holiday Dates and Descriptions of each holiday.

| Date                                                              | Description                                                      |
| ----------------------------------------------------------------- | ---------------------------------------------------------------- |
| A **DateTime** representing the date of the trading hours holiday | A string which is used to describe the holiday (e.g., Christmas) |

## Syntax

`TradingHours.Holidays`

## Examples

```csharp
// Print all holidays included in the Bars object's Trading Hours template
foreach(KeyValuePair<datetime, string> holiday in TradingHours.Holidays)
{
    Print(holiday);
}
```