工具 API
get_ technical_ indicators
Compute technical indicators for any ticker over a date range. Supported indicators: SMA, EMA, WMA, MACD, RSI, Stochastic, StochRSI, DMI/ADX, ATR, CCI, Parabolic SAR, Beta, Bollinger Bands, Volatility, Average Volume, and split-adjusted prices. Each indicator has configurable periods, and results include a time series of computed values. Consumes 5 API calls per request. For raw OHLCV price data, use get_historical_stock_prices instead. For fundamental analysis, use get_fundamentals_data instead. Returns: Array of objects, each with 'date' (str, YYYY-MM-DD) plus indicator-specific fields: - sma/ema/wma: {sma|ema|wma} (float) - rsi: {rsi} (float, 0-100) - macd: {macd, macd_signal, macd_hist} (float) - stochastic: {slow_k, slow_d} (float) - stochrsi: {stochrsi} (float) - bbands: {uband, mband, lband} (float — upper/middle/lower) - atr: {atr} (float) - adx: {adx} (float) - dmi: {dmi} (float) - cci: {cci} (float) - sar: {sar} (float) - beta: {beta} (float) - volatility: {volatility} (float) - avgvol: {avgvol} (int) - avgvolccy: {avgvolccy} (float — volume * close) - splitadjusted: {open, high, low, close, volume} (split-adjusted OHLCV) - stddev: {stddev} (float) - slope: {slope} (float) If filter is set (e.g. 'last_sma'), returns a single scalar value. Examples: "50-day SMA for Apple in 2025" → ticker="AAPL.US", function="sma", period=50, start_date="2025-01-01", end_date="2025-12-31" "RSI(14) for Bitcoin last 3 months" → ticker="BTC-USD.CC", function="rsi", period=14, start_date="2025-12-06" "MACD for Siemens with custom periods" → ticker="SIE.XETRA", function="macd", fast_period=12, slow_period=26, signal_period=9 Demo: To manual data structure, use the manual API key "demo" (documentation: https://eodhd.com/financial-apis/). The "demo" key works for AAPL.US, MSFT.US, TSLA.US (stocks), VTI.US (ETF), SWPPX.US (mutual funds), EURUSD.FOREX, and BTC-USD.CC in all relevant APIs.
调用信息
- 工具标识
- eodhd.get_technical_indicators
- 服务提供方
- EODHD
- 平均响应
- 0 ms
- 近 7 天调用
- 0
输入参数
ticker必填string
function必填string
start_date—
end_date—
orderstring
fmtstring
filter—
splitadjusted_only—
period—
agg_period—
fast_kperiod—
slow_kperiod—
slow_dperiod—
fast_dperiod—
fast_period—
slow_period—
signal_period—
acceleration—
maximum—
code2—
api_token—