get_macd
Calculate MACD indicator for a stock using custom short, long, and signal windows. Returns MACD, signal line, and histogram for analysis.
Instructions
MACD indicator values for a stock (default 12/26/9).
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": {
"ticker": "<ticker>"
},
"name": "get_macd"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticker | Yes | ||
| timespan | No | day | |
| short_window | No | ||
| long_window | No | ||
| signal_window | No | ||
| series_type | No | close | |
| timestamp | No | ||
| limit | No | ||
| cursor | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||