get_market_status
Is a stock market open, and when does it change? Defaults to the US. Pass exchange (an EODHD code: XETRA, F, LSE, PA, AS, BR, LS, MI, MC, SW, CO, ST, HE, OL, VI, IR, SN) or a symbol with that suffix (SAP.XETRA) for a European or the Santiago exchange. Returns the current session (pre_market, open, after_hours or closed; exchanges outside the US have only open and closed), whether today is a trading day, any holiday or early close, the trading day's windows as ISO instants, and the next session change. Render the instants in the user's own timezone.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_market_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | No | A ticker; its suffix picks the exchange (SAP.XETRA). Ignored when exchange is set. | |
| exchange | No | EODHD exchange code, e.g. XETRA or LSE. Default US. |