sma
Calculate simple moving average for stocks using Alpha Vantage data to analyze price trends and identify market signals.
Instructions
Fetch simple moving average
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>",
"series_type": "<series_type>"
},
"name": "sma"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| interval | Yes | ||
| month | No | ||
| time_period | Yes | ||
| series_type | Yes | ||
| datatype | No | ||
| max_data_points | No | Maximum number of data points to return (default: 100) |