Technical indicators
technical_indicatorsReturn technical indicators of a company's listing: simple and exponential moving averages, RSI, MACD, Bollinger bands, average true range and the close range. Computed by us from split-adjusted end-of-day bars built from trades at IEX only, with splits from the company's SEC filings. indicators takes ids such as sma_50, ema_20, rsi_14, macd, bollinger_20, atr_14, range_252 (period 2 to 400, at most 12 ids). data.latest holds the newest session as values with proofs; data.items is the series, newest first. Prices are end of day, published the day after the session: not real time, not the consolidated tape. The values are descriptive statistics, not buy or sell signals and not advice. Use it when asked for a moving average, RSI, MACD or a 52-week range.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"company": "ticker:AAPL",
"indicators": "sma_50,sma_200,rsi_14"
},
"name": "technical_indicators"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last session to use; default the newest (YYYY-MM-DD). | |
| from | No | Oldest session to return (YYYY-MM-DD). | |
| as_of | No | Knowledge date or timestamp (YYYY-MM-DD or RFC 3339). The answer is what FinancialMD knew at that instant: only facts whose known interval contains as_of. Omit for the current view. | |
| limit | No | Sessions per page, newest first; default 30. | |
| cursor | No | Opaque cursor from a previous page (data.next_cursor). | |
| ticker | No | One listing of the company; default the primary listing. | |
| company | Yes | Company identifier: a FinancialMD id ("fmd_01H..."), an SEC CIK ("cik:320193"), or a ticker ("ticker:AAPL", optionally with the MIC "ticker:AAPL.XNAS"). A bare ticker like "AAPL" is accepted and sent as ticker:AAPL. An issuer on an EU or UK regulated market that does not file with the SEC has no CIK: pass its LEI ("lei:IOG4E947OATN0KJYSD45") or its fmd_ id. | |
| indicators | No | Comma-separated indicator ids; default sma_20, sma_50, sma_200, ema_12, ema_26, rsi_14, macd, bollinger_20. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | { listing, source { venue, consolidated, delay }, range, adjust, indicators: [{ id, kind, period, outputs, unit, warmup_sessions, ready, method }], latest { date, close, values { <output>: value object or null } }, items: [{ date, close, values, proof }], next_cursor, generated_by, method_version, note } | |
| meta | No | Request metadata: request_id, as_of, company resolution, coverage, pipeline_version, licence, terms, proof_base. | |
| error | No | Present only on isError results: the API error code and message plus remedy hints. |