Get live quotes
get_live_quotesRetrieve live Yahoo Finance quotes for up to 25 symbols via a streaming feed, with the latest tick and its age on repeat calls; quiet symbols appear in missing.
Instructions
The price right now from Yahoo's streaming feed, for up to 25 symbols.
The first call subscribes and waits for ticks; later calls answer at once with the
latest tick and its age. Quiet symbols (market closed) are listed in missing.
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": {
"symbols": "<symbols>"
},
"name": "get_live_quotes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbols | Yes | Up to 25 Yahoo Finance symbols, e.g. ['AAPL', 'SAP.DE', 'BTC-USD', '^GSPC', 'EURUSD=X']. | |
| wait_seconds | No | How long to wait for symbols without a tick yet. | |
| response_format | No | 'concise' (default; up to 20,000 characters) or 'detailed' (up to 80,000). | concise |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | Yes | When this data was fetched from Yahoo Finance, in UTC. | |
| ticks | Yes | ||
| source | No | Data source and the yfinance version. | |
| missing | Yes | Symbols without a tick yet: market closed, illiquid, or unknown symbol. | |
| warnings | No | Caveats such as delayed quotes, symbols that failed, or trimmed results. | |
| truncated | No | True when rows were left out to keep the response small. | |
| next_offset | No | Pass as `offset` to fetch the next rows, when the result is truncated. |