roc
Calculate the rate of change for stock prices to measure momentum and identify trend reversals using Alpha Vantage market data.
Instructions
Fetch rate of change
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": "roc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| interval | Yes | ||
| month | No | ||
| time_period | Yes | ||
| series_type | Yes | ||
| datatype | No |