Rename or remove a workbench, grow its days, choose its tick model, take a market off or bring one back, retry a download, make one alike with other spread and fills, or start one with positions already open.
01Rename and remove
A workbench's row in the rail has a menu (press with the right button, or its ⋯):
- Rename workbench: the name the rail shows.
- Remove workbench: the workbench and its own record go. The laboratory's recording, the market data, stays. Bentrix first says what will go, and removes nothing until you confirm.
02Its days
A laboratory workbench's days are set on the Replay widget's Days. They are free until the first fill: before you have traded you may move them anywhere. After the first fill they may only grow, earlier or later, never shrink, so a trade you made never falls outside the workbench. When the clock reaches the last day, The recording ends here offers to start again or stay; grow the days forward to keep going.
03Its tick model
How the workbench's ticks are made — real ticks, every tick, one-minute OHLC or open prices only (see tick models) — is chosen on the Replay widget's modelling menu. It is fixed at the first fill: one run is one model, so a result is never a mix of two. To compare models, make a workbench alike for each, or run a batch over them.
04Its markets
Markets come and go through Market Watch (see adding and removing markets):
- Taking a market off: one never traded is removed. One already traded is only hidden, because its deals belong to the record. One with an open position or order is refused until it is closed.
- Showing it again: a hidden market comes back with its history.
- A failed download stays in view under Market Watch's heading with Try again and Remove.
- Missing days: a market whose download stopped part-way shows what it lacks, and its row fetches the rest.
05Alike, with other spread and fills
Workbench with other spread and fills makes a workbench alike one of the laboratory's — the same days, markets, account and costs — but with a spread and fills you set: a wider or floored spread, a spread by session hours, slippage that is fixed, random or scaled to volatility, a latency. See calendar and fills. A harsher workbench is the quickest way to see whether a result survives worse conditions. Your own fills go further: they measure your broker's real slippage and make a workbench from it (see your own fills).
06Starting with positions already open
A workbench can start with positions already on its account: a book taken over from an earlier run, carried from another workbench, or written down from a real account. Each position enters as it stands, and no money moves: its opening commission is not taken again, its accrued swap is carried and booked with its close, and its ticket is kept. The book is the workbench's for good: a rewind or a relaunch begins with it. This is a program's door, bench_create_with_book.
07From a program
bench_rename, bench_delete (it answers what would go, and deletes only with confirm), bench_set_days, bench_set_tick_model, bench_remove_market, bench_show_market, bench_retry_market, bench_fetch_rest, bench_create_alike and bench_create_with_book.