Agara
Market dataCalendars

List trading days in a range

GET/api/v1/calendars/{mic}/days

Sessions for [from, to] inclusive. Range may not exceed 366 days.

Path Parameters

mic*string

ISO 10383 MIC of the venue, case-insensitive (e.g. XNAS). List them with GET /api/v1/calendars.

Query Parameters

from*string

First date of the range, inclusive, as ISO YYYY-MM-DD.

Formatdate
to*string

Last date of the range, inclusive, as ISO YYYY-MM-DD. Must be on or after from, and at most 366 days later.

Formatdate

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/api/v1/calendars/string/days?from=2019-08-24&to=2019-08-24"
{  "mic": "string",  "days": [    {      "mic": "string",      "date": "string",      "is_trading_day": true,      "segments": [        {          "open": "string",          "close": "string"        }      ],      "reason": "string"    }  ]}