Compute one built in study over a symbol, timeframe and range

post/v1/indicators/compute

Request

  • Base URL: https://app.texttoquant.com/api
  • URL: https://app.texttoquant.com/api/v1/indicators/compute
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Request body

typestring required

Study id, e.g. rsi, ema, macd, bollinger_bands

paramsobject

Study parameters, e.g. {"period": 21}

symbolstring required
timeframestring required
chartTimeframestring

Step the series onto this timeframe's bars (no lookahead)

startDatestring required
endDatestring required

Response

Answers {success, type, params, paneType, series: {<key>: [{t, v}]}, barCount} at the top level (no data wrapper), plus notes when the pane has something to say about its data

successtrue required
typestring required
paramsobject

The parameters the study was computed with.

paneType'overlay' | 'oscillator' required
seriesobject required

One array of {t, v} per output, keyed by output name or period.

barCountinteger required
graphicsobject

Present only for zone studies: the boxes and labels to draw.

sourceTimeframestring

Present only when chartTimeframe stepped the series onto other bars.

warmupBarsinteger

Bar index where the warm up ends (the largest over the outputs).

warmupBarsByOutputobject

The same boundary per output.

Changes

No recorded changes to this operation across all 1 revision of this API.