Generator
The Generator explores strategies at scale (random search by default), evaluates them on your history, and — if enabled — saves them to the Databank. Compute runs on your TPA (server worker only in special environments); for customer production, assume the TPA is online.
Generator form. Click to zoom.
Typical flow
- Open Generator.
- Pick a symbol (already downloaded) and date range (empty = full available history).
- Set attempts (
n), risk/costs, and workers. - Enable Save to databank if you want the run persisted.
- Click Generate and follow progress on the page or in Jobs.
Data
Partial coverage or a missing symbol is called out in the UI with a link to Data.
Engine (random search)
- Attempts: how many candidate strategies to explore.
- Min trades / max leaves: minimum viability and entry-rule complexity.
- Genetic evolution from an already saved strategy is done in Databank → Evolve (you do not need to invent GP from scratch here). See Strategy detail.
Exit / order types
Opt-in by probability (0 = never):- Break-even, time exit, reverse / opposite signal
- Pending Stop/Limit orders
- Entry trigger edge (false→true pulse) vs re-enter while the signal stays true
- Force edge on multi-TF when HTF leaves exist (better MT parity on sticky signals)
- Max entries/day (0 = no run-level cap)
Risk, costs, and validation
Workers and memory (OOM)
Workers evaluate in parallel. Each extra worker copies data and caches in RAM. With long series (M1 / multi-TF), 2–4 workers can exhaust memory.- Start at 1.
- Increase only if you have spare RAM and stable runs.
- If the job dies with OOM / process-pool errors, lower workers or shrink range/
n.
Saving and live Databank
- Save to databank: persists the run (not only temporary on-screen results).
- Update databank every (seconds): incremental top-K flush while the job runs (min ~5 s; default ~60 s). A final reconciliation happens at completion.
- With TPA, mid-run flush also feeds the Databank when agent and job are set up for it.
Reset and draft
- Reset restores generator defaults (does not change global Settings).
- The form draft is stored in the browser per user; switching accounts should not inherit another user’s draft.
Presets and multi-TF
Saving/loading presets and timeframe randomization: Presets and multi-timeframe.Next
- Databank
- Export bots
- Troubleshooting — OOM, stuck jobs, TPA offline