ChartnautDocs

Insight

object
idstringRequired
Example ins_61
namestringRequired
descriptionstringRequired
definitionstringRequired

The definition slug whose events show the card.

studystringRequired

The study slug.

study_versionintegerRequiredNullable
instrumentstringRequired
Example BTC
timeframestring · TimeframeRequired
One of 1m 5m 15m 30m 1h 2h 4h 1d 1w 1mo
profilestringRequiredNullable

The definition profile of the run. The card shows on charts using this profile.

windowobject · WindowRequired

Exactly one of {from,to}, last or bars. Warmup is fetched before the window automatically and never counted in results. Clamped to the plan's historical depth.

Show fields
fromstring (date-time)
tostring (date-time)

Defaults to now.

laststring
Pattern ^[0-9]+[dwmy]$Example 90d
barsinteger
At least 1Example 2000
scope_dimensionsarray of stringRequired

pin_cell's indexedBy. Empty for one global card.

is_ownerbooleanRequired

false for someone else's shared insight you added in the app (read-only).

authorstring

The username of whoever shared it. Only when is_owner is false.

app_urlstringRequired

Opens the insight's study run in the app. Empty when is_owner is false.

created_atstring (date-time)Required
updated_atstring (date-time)Required
problemsarray of object

What stops this insight working for you: a dependency of its study that is not in your library, or no longer shared with you. Empty when it works.

Show item fields
codestringRequired
kindstringRequired
namestringRequired
addstring
reasonstring
activebooleanRequired

It shows on your charts of its definition, instrument and timeframe (POST /insights/{insight_id}/activate).

active_statestringNullable

Only when active: live, or paused when the account is over its plan's Forward Insights on charts (after a downgrade).

One of live paused null
valid_fromstring (date-time)RequiredNullable

The first moment its numbers know nothing about (the run's end, plus how far the study read past an event, to the next bar). Setups from then on are out of sample. Null when unknown.

headlineobjectRequiredNullable

The one number its label shows, across every setup. Null when it has none, or an older insight's is not worked out yet.

Show fields
valuestringRequired
labelstringRequired
basisstringRequired
One of this_setup all_setups

Used by#