Skip to main content

Technical indicators

/technicals computes indicators from daily bars.

Routes​

indicators forroute
a stock or ETFGET /v1/securities/{symbol}/technicals
a continuous futureGET /v1/futures/{root}/continuous/technicals
an index, yield, or volatility seriesGET /v1/series/{key}/technicals

Price basis​

price_basis states the values the indicators read: the bars as /history serves them, each value a session's close (price history).

For a close-only series, which has no high and low, the range indicators (stochastics, CCI, ATR, ADX, Ichimoku) are null.

The computation window​

Only completed sessions' bars with a value are used (completed sessions only). window.settled_through is the newest session used whose bar is final; the sessions after it are used with bars that can still change. window.missing names the bars not used, with their reasons, and through the last session used.

With too little history, every indicator is null with insufficient_history; history_rows and rows_needed say how many daily rows the computation had and needs.

Values and signals​

last_value is the value the indicators end on, with its date: a session's close. roc is last_value against the value before it, in percent; null for a series that changes in percentage points or points, such as a yield index.

signalmeaning
sma50_vs_sma200above, below, or equal: the order of the two averages only (a "golden" or "death cross" regime), never the price's position
price_vs_sma50, price_vs_sma200above or below: last_value against the average

Volume indicators​

vwma, mfi, and pvo read volume. They are null when a session in their window has no volume (its /history bar has volume: null), or when the instrument's volume is not reported (volume_available: false).

Precision​

indicatorsprecision
price-level indicators: last_value, moving averages, Bollinger bands, ATR, MACD, VWMA, the Ichimoku linesthe key's price precision; with none registered (a futures series), 6 significant figures
oscillators, rates of change, and z-scores: RSI, stochastics, CCI, ROC, MFI, ADX, PVO, z_score_754 decimal places

Price levels are in the instrument's currency at its price_scale (the instrument block).