Run multiple independent trading strategies on one broker account. QuantScript virtual trading accounts provide isolated capital, per-strategy P&L, and pooled margin — no more one-EA-per-account.
A Virtual Trading Account lets a QuantScript strategy run on a shared broker account as if it had its own dedicated account. The platform computes per-strategy equity, P&L, and drawdown from that strategy’s positions only — while capital and margin are physically pooled with other strategies on the same account.
This is a first-class architectural capability, not a workaround: multiple independent strategies can trade the same account — even the same symbol — without interfering with each other.
In the MT5 ecosystem, the standard practice is one EA per account. Expert Advisors have no mechanism to identify which positions belong to them. Running two EAs on the same account risks cross-contamination — one EA may close or modify the other’s positions. The workaround: separate accounts for each EA, fragmenting capital and preventing margin sharing.
The cost compounds quickly: eight strategies means eight accounts, eight minimum deposits, eight terminals to maintain — and most of that capital sits idle as reserve.
Two complementary mechanisms provide hard isolation between strategies sharing an account:
"Sword02c1|"). Each strategy only touches positions matching its own tag. Strategies cannot interfere with each other, even when trading the same symbol simultaneously.trade.account() and strategy.* introspection reflects its own virtual account, not the pooled whole.The result: full per-strategy isolation and accountability, with the capital efficiency of a single pooled account.
| MT5 EAs | QuantScript | |
|---|---|---|
| 8 strategies | 8 accounts × $12.5k = $100k committed | 1 account, $20–30k committed |
| Margin | Fragmented (no sharing) | Pooled (strategies share headroom) |
| Reserve capital | None (all locked in accounts) | $70–80k earning yield, available for stress top-up |
| Per-strategy P&L | Manual spreadsheet tracking | Automatic (Virtual Account) |
| Cross-strategy risk | None | RiskGuard portfolio-level policies |
| Operations | 8 terminals, 8 logins, 8 updates | 1 deployment, 1 monitoring view |
Because uncorrelated strategies rarely hit their maximum drawdown simultaneously, the pooled account requires less total capital than the sum of isolated accounts — while providing full per-strategy isolation and accountability.
A strategy opts into a virtual account by declaring its allocated capital in the broker() configuration:
mode(mode_type: "live", script_name: "Grid Strategy A");
broker(adapter: "demotrader", config: {
allocated_capital: 5000
});With allocated_capital set, the strategy’s equity, margin usage, and risk limits are computed against its $5,000 virtual allocation — even though the physical broker account may host several other strategies with their own allocations.