Agara
Market dataCalendars

Next trading session

GET/api/v1/calendars/{mic}/next-session

The earliest trading day on or after from, within entered coverage. session=null when none exists in range.

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

Date to search forward from, inclusive, as ISO YYYY-MM-DD.

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/next-session?from=2019-08-24"
{  "mic": "string",  "session": {    "mic": "string",    "date": "string",    "is_trading_day": true,    "segments": [      {        "open": "string",        "close": "string"      }    ],    "reason": "string"  }}