The Run object
A Run is one execution of one script on one instrument, timeframe and window. Create a run, Get a run and Cancel a run return one, and List runs returns a page of them. Runs started through the API have ids starting run_; study runs made in the app have ids starting srun_.
Fields
Field | Type | Description |
|---|---|---|
| string |
|
| string |
|
| string | The ref that ran, with its version: |
| string | Canonical symbol, such as |
| string | Timeframe |
| object |
|
| object | The settings you sent. |
| string | The label you sent. Left out when you sent none |
| string |
|
| object |
|
| Failure or null | Why the run failed or was cancelled. |
| Summary or null | Counts from a succeeded run. |
| array of object | The first 50 lines an indicator or definition printed, |
| object |
|
| string or null | Opens a study run in Chartnaut. |
| string | When the run was created |
| string or null | When it started running |
| string or null | When it finished |
| string | When indicator and definition results are deleted: 7 days after |
progress.phase is running while an indicator or definition executes. A study run shows collecting while it runs its definitions over the window, starting, and then the study's own phases. phase is left out once the run finishes.
console
Field | Type | Description |
|---|---|---|
| string | The level the script logged at |
| string | What the script printed |
| integer | The bar it printed on |
