getHolidaysByExchange
Retrieve holiday closure dates for a specific stock exchange and optional date range, so you can plan trading around market closures.
Instructions
Access holiday schedules for specific stock exchanges using the Global Exchange Market Hours API. Find out the dates when global exchanges are closed for holidays and plan your trading activities accordingly.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"exchange": "<exchange>"
},
"name": "getHolidaysByExchange"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End date for the holidays (YYYY-MM-DD format) | |
| exchange | Yes | Exchange code (e.g., NASDAQ, NYSE) | |
| from_date | No | Start date for the holidays (YYYY-MM-DD format) |