get_stock_quote
Retrieve available stock prices and trading data by Avanza order-book ID, excluding company details. Use the real-time flag and upstream timestamps to verify quote freshness.
Instructions
Get latest available stock prices and trading data, without company details.
Not guaranteed real-time; inspect isRealTime and upstream timestamps. Null is unknown; zero is a reported value.
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": {
"order_book_id": "<order_book_id>"
},
"name": "get_stock_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_book_id | Yes | Avanza order-book ID from discovery; not the separate instrumentId. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buy | No | ||
| last | No | ||
| sell | No | ||
| change | No | ||
| lowest | No | ||
| spread | No | ||
| highest | No | ||
| updated | No | ||
| isRealTime | No | ||
| timeOfLast | No | ||
| changePercent | No | ||
| totalValueTraded | No | ||
| totalVolumeTraded | No | ||
| volumeWeightedAveragePrice | No |