market_hours
Retrieve trading sessions and current market status for any instrument by ID. Know exactly when you can trade, with null returned if no hours are available.
Instructions
Trading sessions and status for an instrument; null when the API has no hours for it.
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": {
"instrument_id": "<instrument_id>"
},
"name": "market_hours"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instrument_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |