macd
Calculate moving average convergence divergence (MACD) to analyze stock price trends and momentum using Alpha Vantage market data.
Instructions
Fetch moving average convergence divergence
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>",
"series_type": "<series_type>"
},
"name": "macd"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| interval | Yes | ||
| month | No | ||
| series_type | Yes | ||
| fastperiod | No | ||
| slowperiod | No | ||
| signalperiod | No | ||
| datatype | No |