CreateRunRequest
object
scriptstring · ScriptRefslug or slug@N for your own scripts; author/slug or
author/slug@N for library scripts; chartnaut/slug for built-ins
(which always run their latest version).
sourceobject · ScriptSourceShow fields
Show item fields
pathstringRequiredcodestringRequiredentrybooleanExactly one file is the entry. Indicators have one file, always the entry.
instrumentstringRequiredCanonical or short symbol.
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.
laststringbarsintegersettingsobjectOverrides; anything omitted uses the script's default.
studyobjectStudy only.
Show fields
event_filterobjectRestrict to events matching these payload values.
waitintegerSeconds to block for completion.
labelstringFree text, shown in the app.
One of
