Exporting to other platforms
Export strategy code with target-specific compatibility checks and a report of the verification performed.
What an export is
The Export section of a strategy page ports the strategy to another platform's code. The exporter agent writes the port. Where a compatible target engine is installed, it backtests the port on Stratmill's bars and compares trades. Otherwise the report identifies the limited checks performed; self-checking is not a trade-parity result.
Supported platforms
The export menu retains backtrader, vn.py, QuantConnect LEAN, TradingView Pine and MetaTrader 5. Compatibility depends on the strategy and target. The report must identify whether an engine ran or only structural checks were performed. Pine runtime checks do not run on TradingView. MT5 structural checks are not Strategy Tester parity.
How each port is checked
The port is backtested over the last 180 days, or a longer capped history, and its trades are compared with Stratmill's. Mismatches are fed back to the exporter for up to 3 repair rounds. A port is aligned when at least 90% of trades match in both directions, with entries no more than a bar apart. The report shows the share of our trades matched, the share of theirs matched, the correlation of per-trade returns and the window used.
Downloads
Each export provides the port file, the platform's configuration or settings file, the parity report and a short guide to running it on that platform. The optimiser's parameter ranges are carried over in the target platform's own format.
Who can export
The owner of a strategy can export it. A marketplace subscriber can export or download a subscribed strategy only while the subscription is active and the listing offers its code. Agent work for an export is charged in credits like other agent calls.
Running on your platform
Running exported code requires your own compatible platform and validated Forex account settings. Exporting does not connect or authorize a broker. Review symbol mapping, costs and position sizing before any demo validation.
Drift alerts
Stratmill pulls the fills of each linked deployment, replays its own backtest over the same period with the exported parameters, and scores the last 14 days at least daily. When the deployment drifts, for example by trading differently, going silent, costing more than twice the modelled costs or drawing down too deeply, you get a notification. Sync now re-checks at once.