ChartnautDocs

Summarise a definition's events

GET/scripts/{slug}/events/summary
Base URL
https://api.chartnaut.com/v1
Auth
Bearer key
Operation ID
definitionEventsSummary

Path parameters#

slugstringRequired

Your script's slug, optionally pinned as slug@N.

Pattern ^[a-z0-9][a-z0-9-]{1,62}(@[0-9]+)?$Example vwap-reclaim@3

Query parameters#

versioninteger

Responses#

200OKapplication/json

Summary.

object
definitionstring
eventsinteger
daysinteger
events_per_daynumber
datasetsarray of object
Show item fields
instrumentstring
timeframestring
eventsinteger
daysinteger
fromstring (date-time)
tostring (date-time)
collectingarray of object

Collections queued or running. Poll until empty.

failedarray of object

Collections that failed, with failure_kind.

ErrorAny other statusapplication/json

Error.

object · Error
errorobjectRequired
Show fields
codestringRequired

Stable. Branch on this, never on message.

One of unauthorized forbidden_scope plan_limit not_found version_conflict script_invalid in_use out_of_coverage unknown_instrument ambiguous_instrument unsupported_timeframe run_not_finished rate_limited busy invalid_request forbidden conflict not_in_library confirmation_required not_shared not_installable not_implemented authorization_pending slow_down access_denied expired_token internal
messagestringRequired
detailsobject
docs_urlstring (uri)
request_idstring