Ticker
get_tickerReturns the last price and open, high, low, close, volume and change % over a window for one scanned symbol. Use it for a quick price check; for the candles themselves or the scanner's freshness, use get_market_snapshot. window_hours is counted in whole 4h candles from the scanner buffer (24 uses 6; candles_used says how many), so short windows move in 4-hour steps. A symbol outside the scanned universe returns an error, as does one whose candles are not loaded yet (e.g. just after a restart; retry after the next scan). No key needed.
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": {
"symbol": "<symbol>"
},
"name": "get_ticker"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Pair to read. Must be in the scanned universe. | |
| window_hours | No | Statistics window in hours. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| low | No | Window low. | |
| high | No | Window high. | |
| open | No | Window open. | |
| close | No | Window close. | |
| error | No | Set only on a failed call (isError true): what went wrong. | |
| price | No | Last close. | |
| period | No | Statistics window. | |
| symbol | No | Pair. | |
| volume | No | Window volume, base asset. | |
| timestamp | No | Response time (RFC 3339). | |
| change_pct | No | close vs open, percent. | |
| data_source | No | Always the scanner buffer. | |
| candles_used | No | 4h candles inside the window. |