Run results
Open a run, read its summary figures, the comparison table, one algorithm in detail and the journal, label and tag it, restore its setup, or delete it.
A run has finished and you want to know how it went, and why. The simulation's page answers the first question with a summary of each run. The run's own page answers the second, down to every order. This page shows where each figure is and what you can do with a run.
For what the figures mean and how they are calculated, see Results.
Runs on the simulation's page
Open a simulation from the Simulations page. The runs column has two parts: the summary of the selected run, and the Runs table under it.
Runs table
The table lists every finished run, newest first. The newest run is selected when you open the page. Select a row to see that run's summary above the table.
| Column | Content |
|---|---|
| Run | The run's label, or "Unlabelled", with its tags beneath |
| Started | When the run started, and how long it took |
| Outcome | How the run ended. A run that ended early also says how far it got, for example "at 61%" |
| Return | The change in net worth over the run, in percent |
| Max drawdown | The largest fall from a peak |
| Win rate | The share of closed trades that made money |
| Orders filled | Orders filled out of orders submitted, for example "42 of 57" |
A run ends with one of four outcomes:
| Outcome | Meaning |
|---|---|
| Completed | The run reached the end of its date range |
| Cancelled | You stopped it early. Its figures describe exactly the part that ran |
| Failed | Something went wrong. Select the outcome to read the engine's account of it |
| Interrupted | The engine stopped unexpectedly while the run was in flight. Select the outcome for details |
A run with several algorithms has a chevron at the start of its row. Select it to unfold one line per algorithm (or per instrument, for a sweep) with the same figures.
For a comparison run, the row shows the best algorithm's return, marked "best", and the deepest drawdown of any algorithm. The accounts of a comparison are separate, so there is no meaningful sum to show.
If runs carry tags, the tags appear as buttons above the table. Select one or more to show only the runs that carry all of them.
Run summary
The summary card shows the selected run's label, outcome, start time and duration, then its figures and a picture.
For a run on one account:
| Figure | Meaning |
|---|---|
| Return | The change in net worth, in percent. Green for a gain, red for a loss |
| Net worth | The starting and ending value of the account, in the quote asset |
| Max drawdown | The largest fall from a peak. With several algorithms on the account it reads Worst drawdown |
| Win rate | The share of closed trades that made money, with the counts beneath |
| Orders filled | Orders filled out of orders submitted |
For a comparison or an instrument sweep, the first three figures are Best return, Worst return and Worst drawdown, each naming the algorithm or instrument it belongs to.
On a margin account, Lowest margin level is added, with the peak leverage the run reached.
Under the figures is a chart of net worth since the run started. It shows the whole run in one picture. A comparison draws every algorithm on one chart.
The foot of the card states how many steps the run completed, a note such as "Ran with different fees" when the simulation's setup has changed since this run, and the run's id with a copy button.
A figure shows a dash when the engine did not report it. A dash is never a zero: a run that closed no trade has no win rate, not a win rate of 0%.
Run page
To see everything about a run, select Open full results on its summary card. The run's page is one column, read from top to bottom.
- The header card. The label, outcome, start time, duration and tags, the stepper Run 3 of 7 with arrows to the older and the newer run, and the restore and delete buttons. Under them are the summary's figures plus Peak (the highest net worth, for a run of one algorithm), Realized PnL and Fees paid. Fees are listed per asset and are not added together, because amounts in different assets do not sum.
- Every algorithm (comparison runs only; Every instrument for a sweep). The comparison table and chart.
- In detail. The charts and the journal of one algorithm. On a comparison run it is titled One algorithm in detail.
- Run record. Folded by default. The setup the run used and the full results per algorithm.
Comparison table
On a comparison or sweep run, the comparison card places every algorithm (or instrument) side by side: a table on one side and a chart of every net worth line on the other.
| Column | Meaning |
|---|---|
| # | The rank by return, best first |
| Tick box | Whether this line is drawn on the chart |
| Algorithm or Instrument | The label, with the colour of its line |
| Return | The change in net worth, in percent |
| End | The ending net worth, in the quote asset |
| Max drawdown | The largest fall from a peak |
| Win rate | The share of closed trades that made money |
| Orders filled | Orders filled out of orders submitted |
- Untick a row to hide its line. Nothing else changes.
- Select a row to inspect that algorithm. The page scrolls to the detail section, which now shows it.
- Use the % and quote-asset buttons above the chart to switch between the percent change and the net worth itself. See Charts.
An algorithm the run never reached is greyed out, has no rank and says "never reached by the run".
When a comparison has many lines, the chart opens on the best and the worst few and leaves the rest hidden. Tick a row to draw it.
One algorithm in detail
The detail section reads one algorithm at a time. A row of pickers at its top sets what you are looking at:
- The algorithm (or instrument), on runs with more than one.
- The market: which instrument's candles and orders to show, when the algorithm reads several.
- The values: percent or the quote asset. A margin run adds Owed and Level.
- The resolution: the candle size of the charts.
Below the pickers are the net worth chart, the candle chart with the algorithm's orders marked on it, a strip showing the whole run, and the journal. All of them follow the pickers. See Charts for how to read and move around them.
Journal
The journal is the table under the charts. It lists what the selected algorithm did on the selected market. Three buttons choose the view:
- Orders: every order the algorithm placed, whatever became of it. Columns: Time, Side, Type, Quantity, Filled, Price, Avg fill, Status and Cause. A margin run adds Leverage.
- Trades: every round trip, from the fill that opened a position to the fills that closed it. Columns: Opened, Closed, Held, Quantity, Cost, Proceeds, PnL and Closing fills.
- Account (margin runs): loans, repayments, interest, margin calls and liquidations, with the account's equity, liabilities and margin level after each.
To work with the journal:
- Filter by status. Use the status buttons to show, for example, only filled or only rejected orders.
- Follow the chart. Turn on In view to list only the orders inside the part of the run the charts show.
- Find an order on the chart. Select a row. The charts move to that moment and the order's mark is highlighted.
- Find an order in the journal. Select a mark on the candle chart. The journal turns to the page holding that order and highlights its row.
The Status column says where an order ended up (for example Filled, Cancelled, Rejected or Expired), and the Cause column says why, for example "Insufficient collateral" for an order the account could not pay for. See Execution journal.
Run record
Select Run record to unfold it. It holds what the run was, exactly:
- Overview: outcome, start and finish times, duration, steps, label, tags and the run id.
- Configuration, Data and Algorithms: the copy of the setup the run used, with every parameter.
- Results, Activity, Trades and Margin: the figures for each algorithm separately, including counts of orders submitted, filled, cancelled, rejected and expired.
If the simulation's setup has changed since this run, a note beside the title says which part differs, for example "The simulation now has different fees".
Label and tags
Labels and tags help you find a run later. Both can be edited on the run's summary card and on its page.
To label a run:
- Point at the label (or at "Unlabelled") and select the pencil button.
- Type a label, for example "Baseline, 1h".
- Press
Enter, or select elsewhere. PressEscto discard the edit.
To tag a run:
- Select the tags (or "None") on the run's page.
- Type a tag and press
Enteror a comma. Repeat for more tags. PressBackspacein the empty field to remove the last one. - Press
Enterin the empty field, or select the save button.
A label names one run. Tags group runs: give every run of one experiment the same tag, then filter the Runs table by it.
Setup restore
Every run keeps a copy of the setup it used. If an earlier run did better than your later changes, you can put its setup back.
- Select the run on the simulation's page, or open its page.
- Select the restore button (labelled Restore run).
- Read the "Restore this run's configuration?" dialog. The simulation's present data sources, algorithms and settings are replaced by the run's, and the present setup is not saved anywhere first.
- Select Restore run.
The app confirms with "Simulation configuration restored." Run the simulation to continue from that setup.
Replacement of the present setup
A restore cannot be undone. If the present setup matters, run the simulation once before you restore. That run then holds a copy of it, which you can restore in turn.
The restore button is unavailable while the simulation is running or paused. Stop the run first.
Run deletion
- Select the run on the simulation's page, or open its page.
- Select the delete button (the red bin icon, labelled Delete run).
- Select Delete run in the "Delete this run?" dialog.
Everything recorded for the run goes with it: its outcome, its results per algorithm, its net worth history and its journal. A deleted run cannot be brought back. To see those results again you have to run the simulation again with the same setup.
Related
- Results: what each figure means
- Execution journal
- Charts
- Run control
- Runs and statuses
- Read a run with the API
Run control
Start, pause, resume, stop and reset a simulation in the app, read its progress and status line, and know what each action keeps and what it discards.
Charts
Read and move around a run's charts: percent or the quote asset, the resolution picker, zooming and the setting that governs it, order marks and indicators.