calculate_sma
Compute the latest simple moving average (SMA) value for a given symbol, period, and timeframe. Use this technical analysis tool to identify trends and support/resistance levels.
Instructions
Simple moving average (latest 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": {
"symbol": "<symbol>"
},
"name": "calculate_sma"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| period | No | ||
| timeframe | No | ONE_DAY |