get_technical_indicator
Retrieve technical indicator values such as RSI, SMA, MACD, or Bollinger Bands for a stock symbol over a date range to analyze trends and support trading decisions.
Instructions
Get technical indicator data for a specific stock
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>",
"function": "<function>"
},
"name": "get_technical_indicator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End date (YYYY-MM-DD format) | |
| from | No | Start date (YYYY-MM-DD format). Defaults to period * 1.5 days ago (min 30, max 365) if not specified. | |
| order | No | Order of results ('a' for ascending, 'd' for descending). Defaults to 'd' (newest first). | |
| apiKey | No | EODHD API key (optional if set via environment variable) | |
| period | No | Period for the indicator (e.g., 14 for RSI) | |
| symbol | Yes | Stock symbol (e.g., 'AAPL.US') | |
| function | Yes | Technical indicator function (e.g., 'sma', 'rsi', 'macd', 'bbands') | |
| splitAdjustedOnly | No | Use split adjusted data only (0 or 1) |