Skip to content
Foundry

A strategy factory that shows its working.

Foundry is being built to automate the discovery, backtesting, optimisation, validation and export of systematic trading strategies, with every step recorded and repeatable.

  • v0.1-alpha · in development
  • Local desktop · no account required
  • Licence under review
The workflow

From a question to an exportable strategy.

Five stages, one record. Choose a stage to see what Foundry is designed to do at that point. The views are illustrative schematics, not the product interface.

FOUNDRY · CONFIGUREILLUSTRATIVE SCHEMATIC · NOT PRODUCT UI

Choose data, instrument, search space, execution model and validation profile.

Data & instrumentCSV / Parquetquality gradeinstrument spec
Search spacetyped grammarseedobjectives
Execution & spreadbid / asknext-bar openspread model
Validation profileIS / OOSwalk-forwardholdout policy
Related screenshot slot: ph-workspace1 / 5
01 · Automated discovery

Search broadly. Spend evidence carefully.

Foundry is designed to generate candidates from a typed search space, using constrained random generation and genetic evolution. The same search space and seed produce the same stream. Duplicates are rejected before they use up research budget.

Candidates then pass through a progressive funnel: cheap filters first, expensive evidence only for those that earn it. Every rejection keeps its reason.

  • Typed search space
  • Seeded, deterministic generation
  • Semantic duplicate rejection
  • Genetic evolution
  • Pareto selection
Fig. 1 — Research funnelSchematic
  1. 01
    Generate candidate
    DISCOVER
  2. 02
    Semantic duplicate check
    DISCOVER
  3. 03
    Allocate trial
    DISCOVER
  4. 04
    Development baseline
    DISCOVER
  5. 05
    Cheap search filters
    DISCOVER
  6. 06
    Static IS / OOS
    EVIDENCE
  7. 07
    Walk-forward
    EVIDENCE
  8. 08
    Robustness battery
    EVIDENCE
  9. 09
    Campaign closure
    AUTHORITY
  10. 10
    DSR / validation authority
    AUTHORITY
  11. 11
    FINALIST
    AUTHORITY
  12. 12
    Final Holdout
    PROOF
  13. 13
    VALIDATED
    PROOF
Stage order follows the Foundry roadmap. Widths are illustrative, not data.
02 · Reproducible backtesting

The same inputs give the same result.

Each backtest is designed to be tied to fingerprints of its Strategy Package, dataset, validation policy and software version. A result can be rebuilt from its record, not from memory.

03 · Execution modelling

Declared, not inferred.

Two engines that read the same rules differently are not testing the same strategy. Foundry is being built to state its execution assumptions in an explicit Execution Contract.

SIGNAL TIMING
Evaluated at bar close
FILL TIMING
Next bar open
PRICE SIDE
Executable bid / ask
GAPS
Gap-aware stop fills
INTRABAR AMBIGUITY
Resolved pessimistically
TRAILING STOPS
Updated on completed bars
COSTS
Spread, slippage, commission, swap
ACCOUNT
Netting / hedging, currency conversion
04 · Robustness & validation

Promising is not the same as validated.

Validation is part of discovery. Foundry is designed to account for the whole search, not just the strategy that survives it. The Deflated Sharpe Ratio and trial counts are always calculated and shown.

  • In-sample / out-of-sample
  • Walk-forward
  • Monte Carlo (trade order, skipped trades)
  • Parameter perturbation
  • Spread, slippage & commission stress
  • Data perturbation
  • Deflated Sharpe Ratio
  • Final Holdout
Fig. 2 — Validation statesSpec §13 · Roadmap §1.1
  1. CANDIDATEGenerated and logged
  2. DEVELOPMENT GATESIS/OOS · walk-forward · robustness
  3. FINALISTPromising, not yet proven
  4. FINAL HOLDOUTConsumed once, recorded
  5. VALIDATEDMeets the validation policy

Candidates that fail a gate become Rejected, and the reason is recorded. A finalist that hasn’t met the validation policy, including the Final Holdout where required, is never shown as validated.

05 · Research Campaign history

The count doesn’t reset when you try again.

A Research Campaign groups every experiment on the same research problem. Candidate counts build up across reruns and parameter changes, so a strategy’s statistics reflect the whole search that produced it.

  • 01Dataset and campaign identity, with fingerprints
  • 02Total candidates generated and evaluated, across experiments
  • 03Experiment boundaries and configuration changes
  • 04Which validation windows and holdouts have been exposed
  • 05Which finalists consumed the Final Holdout
06 · Evidence & lineage

No unexplained black boxes.

Every strategy in the library is designed to keep its parents, mutation and crossover history, dataset fingerprints and the evidence behind each promotion.

Fig. 3 — Strategy lineageSchematic · not data
Candidategeneration 1
Candidategeneration 1
crossover
Candidategeneration 2
mutation
Candidate → FINALISTgeneration 3 · promotion reason recorded
Final Holdout consumed
VALIDATEDholdout exposure written to campaign
  • Immutable ID & version
  • Campaign & experiment IDs
  • Parent strategies
  • Mutation / crossover history
  • Dataset fingerprints
  • Holdout exposure
  • Trial count at creation
  • Promotion / rejection reason
  • Export fingerprints
  • Parity status
07 · Export & interoperability

Export the strategy you tested, or nothing.

Exports are designed to be capability-checked. If a target can’t represent the strategy’s logic faithfully, the export is refused with a reason rather than approximated. Exported files are intended to carry fingerprints, so later edits made outside Foundry can be detected.

Generated strategies are intended to belong to the user, independent of the application licence (subject to legal review).

  • PythonReadable strategy code, where the strategy’s features are supportedIn development · v0.1-alpha
  • Foundry packageFull Strategy Package with provenanceIn development · v0.1-alpha
  • MQL5Where the strategy’s features are supportedIn development · v0.1-alpha
  • MT5 parityInternal parity testing against MT5 on Windows; a user-facing parity assistant is planned for v0.2In development · v0.1-alpha
Capability map

What’s in development, what’s planned.

Foundry’s long-term scope covers discovery, backtesting, optimisation, validation, research workflow, data, portfolio research and export. Nothing is publicly available yet. “In development” covers the v0.1-alpha scope. “Planned” items are roadmap direction for later releases.

Showing 53 capabilities.

DISCOVERY

  • Typed search spaceIn development
  • Deterministic candidate generationIn development
  • Semantic duplicate rejectionIn development
  • Genetic / structural evolutionIn development
  • Multi-objective / Pareto selectionIn development
  • Progressive validation funnelIn development
  • Search-space auditPlanned · v0.2
  • Strategy family grammarsPlanned · v0.5

BACKTESTING

  • Bid/ask OHLC execution modelIn development
  • Content-addressed backtestsIn development
  • Recorded tick replayPlanned · v0.2
  • Portable reproducibility bundlePlanned · v0.2

OPTIMISATION

  • Parameter and multi-objective optimisationIn development
  • Walk-forward matrix and parameter landscapePlanned · v0.2
  • CMA-ES, differential evolution and Bayesian searchPlanned · v0.5
  • Portfolio-aware optimisationPlanned · v1.0

VALIDATION

  • Static in-sample / out-of-sampleIn development
  • Fixed-candidate walk-forwardIn development
  • Parameter perturbationIn development
  • Execution-cost stressIn development
  • Monte CarloIn development
  • Data perturbationIn development
  • Campaign-level Deflated SharpeIn development
  • Immutable Final HoldoutIn development
  • True walk-forward optimisationPlanned · v0.2
  • CPCV and PBOPlanned · v0.2
  • Regime-conditioned validationPlanned · v0.5

RESEARCH WORKFLOW

  • Research Campaigns and trial ledgerIn development
  • Live funnel dashboard and evidence viewerIn development
  • Genealogy explorer and research comparisonPlanned · v0.2
  • Research journal and reusable recipesPlanned · v0.2
  • Pre-registration / protocol lockPlanned · v0.5
  • Workflow automation and research-as-codePlanned · v0.5

DATA

  • CSV / Parquet importIn development
  • Data quality gradingIn development
  • Integrated Data ManagerPlanned · v0.2
  • Dataset versioning and diffPlanned · v0.2

EXPORT & INTEGRATION

  • Python exportIn development
  • MQL5 exportIn development
  • Foundry Strategy Package exportIn development
  • MT5 parity test harness (internal, Windows)In development
  • User-facing MT5 parity assistantPlanned · v0.2
  • Headless CLI and Python SDKPlanned · v0.2
  • LEAN integrationPlanned · v0.5
  • Further engine and platform targetsPlanned · v1.0

PLATFORM

  • Local desktop, no accountPrinciple
  • Strategy and evidence libraryIn development
  • Local parallel workersIn development
  • Checkpoint and resumePlanned · v0.2
  • Portfolio research and simulationPlanned · v0.5
  • Multi-symbol strategiesPlanned · v0.5
  • Custom blocks and pluginsPlanned · v0.5
  • Stable plugin / SDK contractsPlanned · v1.0
Roadmap

Correctness first, then breadth.

The roadmap shows direction, not a commitment. Scope and order may change. No release dates are committed.

  1. v0.1-alphaIn development

    The credible strategy factory

    One complete, credible local research loop, from market data to a validated, exportable strategy.

    • Discovery, evolution and progressive funnel
    • FINALIST → Final Holdout → VALIDATED
    • Python and MQL5 export, internal MT5 parity testing
    • Windows x64 and macOS Apple Silicon targets
  2. v0.2Planned · v0.2

    Research authority

    Deeper scientific trust and usability before broadening scope.

    • Recorded tick replay
    • True walk-forward optimisation, CPCV and PBO
    • Integrated Data Manager
    • Headless CLI and Python SDK
  3. v0.5Planned · v0.5

    The research platform

    From strategy factory to an extensible research platform.

    • Visual strategy builder, custom indicators
    • Portfolio analytics and simulation
    • Multi-symbol strategies
    • Optional research assistance, including local models
  4. v1.0Planned · v1.0

    Stable research platform

    Stable contracts and the complete core lifecycle.

    • Stable Strategy Package standard
    • Stable plugin and SDK contracts
    • Portfolio-level validation
    • Forward evidence and revalidation

Be first to test Foundry.

Early-access registration. No download or subscription is available yet.

Join early access