Exchange holidays
Retrieves the holidays of an exchange
Path Parameters
- Type: stringexchangerequired
Exchange
Query Parameters
- Type: stringFormat: datedate
From requiredThe date to begin the holidays search. Must be on or after 1900-01-01 and before dateTo.
- Type: stringFormat: datedate
To requiredThe date to end the holidays search. Must be on or before 2100-01-01 and after dateFrom.
Headers
- Type: stringX
- Request - I D The unique identifier of the request. It is used for identifying the request when using updates. It is recommended that this be set to a globally unique identifier (GUID).
Responses
- application/json
Request Example for get/exchanges/holidays/{exchange}/v1
curl 'https://test-market-data-api.openmarkets.com.au/exchanges/holidays/ASX/v1?dateFrom=2018-01-01&dateTo=2018-12-31' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
[
{
"date": "2018-01-01T00:00:00",
"type": "NonTrading",
"description": "New Year's Day"
},
{
"date": "2018-01-26T00:00:00",
"type": "NonTrading",
"description": "Australia Day"
}
]
