calculate_ema
Compute the latest exponential moving average for a given stock symbol, period, and timeframe to analyze market trends.
Instructions
Exponential 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_ema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| period | No | ||
| timeframe | No | ONE_DAY |