Understanding Minimum Margin Requirements & Execution Stats in Your Backtest Report

Written By Hana

Last updated 5 days ago

Disclaimer:

This guide is for educational purposes only. It is not financial advice. Trading involves risk, and past performance does not guarantee future results. Always evaluate your own risk tolerance before running automated strategies.

Understanding Minimum Margin Requirements & Execution Stats in Your Backtest Report

When evaluating a trading strategy or strategy pack, knowing whether your account balance can handle the strategy's historical risk is crucial. To help you trade safely, your Backtest Report includes a Margin and Execution tab.

This guide explains how we calculate your minimum margin requirements, how to interpret execution errors, and what to verify before going live.

1. What is the Minimum Required Margin?

The Minimum Required Margin is the calculated minimum balance recommended to run a strategy safely, based on its historical performance. It ensures your account can withstand both historical losses (drawdown) and the margin required to hold open positions.

The Formula

To give you a buffer against unexpected market conditions, the system calculates the requirement using a built-in safety multiplier:

Minimum Required Margin = Max Drawdown (USD) + ( 2 * Max Used Margin)

  • Maximum Drawdown: The largest peak-to-trough drop in account value during the backtest.

  • Maximum Used Margin: The peak amount of capital locked up to hold open positions at any single point during the test.

  • Safety Margin Factor: A 2x multiplier applied to your maximum used margin to act as a cushion against margin calls.

2. Understanding Your Allocation Status

The system automatically compares your Allocated Balance against the Minimum Required Margin. You will see one of two statuses:

✅ Allocation Is Sufficient

  • What it means: Your allocated balance is greater than or equal to the calculated minimum requirement.

  • Message: “Based on historical simulation data, this allocation met the margin requirements of the strategy during the tested period. Actual trading conditions may differ.”

⚠️ Allocation Is Not Sufficient

  • What it means: Your current balance is too low, putting you at a high risk of margin-related failures or forced liquidations.

  • Message: “Your current allocation may not be sufficient to support this strategy based on historical margin usage.”

  • The Platform Warning: “Based on this strategy’s historical behavior, your current allocation may be too small to safely support the strategy during periods of higher open exposure.”

💡 Real-World Example: Margin vs. Drawdown

If you see an insufficient allocation warning, it means the system has checked the strategy’s historical margin usage and found that, at certain points, the strategy or pack may have needed more capital than you allocated just to keep its open trades supported.

This usually happens when a strategy opens multiple trades at the same time, or when the total lot size across all open trades becomes large. Even if each individual order is small, your broker calculates margin based on your combined open exposure.

🔍 The Gold (XAUUSD) Example:

Imagine you have allocated $1,000 to a strategy. During the backtest, the strategy opens several concurrent trades on Gold (XAUUSD) that add up to a large total position size. At 1:100 leverage, a combined exposure of roughly 1 lot of XAUUSD can require about $2,194 in margin just to hold the trades open. Because $2,194 is greater than your $1,000 allocation, the platform triggers a warning and recommends a higher balance.

Crucial Note: Margin Required is NOT the Same as Drawdown

  • Margin: The amount of capital the broker temporary locks up to keep your trades open.

  • Drawdown: The floating (unrealized) loss if those open trades move against your account.

🛑 The Risk: If a $1,000 account goes into a $500 floating drawdown, your account equity drops to $500. If the strategy simultaneously requires more margin to keep its positions open than your remaining $500 equity can support, your account faces an immediate margin call or stop-out risk.

To reduce this risk, you should either increase the allocation, reduce the risk percentage, or reduce the fixed lot size before running the strategy.

3. Crucial Checks Before You Go Live

Before you adjust your capital or launch a strategy live, you must review two final critical areas in your report:

Check 1: Match Your Leverage

⚠️ Critical Requirement: Ensure the Account Leverage used in your backtest parameters (e.g., 1:100) exactly matches the leverage of your live broker account.

If your live account leverage is lower than the backtest leverage (e.g., 1:30 live vs. 1:100 backtest), your live broker will require significantly more margin to open the exact same trades, leading to instant margin failures.

Check 2: Review Execution Statistics & Errors

Don't just look at the profits—look at the Execution Success Rate. If a strategy has a low success rate, signals were sent but orders failed to execute.

Check the Top 3 Errors Preventing Order Execution section to eliminate technical bottlenecks before risking capital. Common culprits include:

  • Lot size below broker minimum: Your risk settings are too low for your broker's rules.

  • Insufficient margin: The strategy tried to open a trade, but there wasn't enough cash.

  • Invalid lot step: The position sizing format doesn't match your broker's rules.