midprice
Calculate the midprice for financial instruments using Alpha Vantage data to determine the midpoint between bid and ask prices for market analysis.
Instructions
Fetch midprice
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>",
"interval": "<interval>",
"time_period": "<time_period>"
},
"name": "midprice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| interval | Yes | ||
| month | No | ||
| time_period | Yes | ||
| datatype | No |