# Trading Hours

Trading hours schedule for markets that are not open 24/7 (e.g. traditional asset markets). Present in [`markets`](/for-partners/endpoints/dex-markets.md) as `tradingHours`. Omit entirely (or return `null`) for perpetual crypto markets that trade continuously.

## Schema

| Field             | Type    | Required | Description                                                           |
| ----------------- | ------- | -------- | --------------------------------------------------------------------- |
| `timezone`        | string  | yes      | IANA timezone name e.g. `"America/New_York"`, `"Europe/London"`.      |
| `schedule`        | string  | yes      | Human-readable schedule string e.g. `"Mon–Fri 09:30–16:00"`.          |
| `isCurrentlyOpen` | boolean | yes      | Whether the market is open at the time of the response.               |
| `nextOpenAt`      | ISO8601 | no       | Timestamp of the next market open. Omit if currently open or unknown. |

## Example

```json
{
  "timezone": "America/New_York",
  "schedule": "Mon–Fri 09:30–16:00",
  "isCurrentlyOpen": true,
  "nextOpenAt": null
}
```

```json
{
  "timezone": "America/New_York",
  "schedule": "Mon–Fri 09:30–16:00",
  "isCurrentlyOpen": false,
  "nextOpenAt": "2026-04-21T13:30:00Z"
}
```

## Notes

* `isCurrentlyOpen` must be evaluated at response time in the market's local timezone.
* `nextOpenAt` should account for holidays and closures where known.
* Crypto perpetual markets should omit `tradingHours` entirely — they are always open.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.dexpal.io/for-partners/schemas/trading-hours.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
