Demo account

What is Demo account in forex and CFD trading

A Demo account is a trading simulation provided by forex and CFD brokers that allows a trader to practice strategies, test platforms, and execute mock trades using simulated, virtual money in a real-time market environment. The Demo account matters for real trading decisions because it provides a zero-risk environment for platform and strategy validation, enabling the calculation of projected returns and risk parameters before committing live capital. A trader can measure performance on a Demo account by tracking key metrics like win rate, average PnL per trade, and drawdown percentage within the platform’s ‘Account History’ or ‘Reports’ tab.

Key facts about Demo account

  • Capital Type: Uses virtual funds only, which have no actual monetary value and cannot be withdrawn.
  • Pricing Feed: The pricing data, including Bid and Ask prices, should reflect the live market feed of the broker to ensure realistic spread and execution testing.
  • Execution: Trades are executed internally on the broker’s demo server; they are not routed to the interbank market or liquidity providers, meaning slippage or rejection differences may occur compared to a live environment.
  • Cost Simulation: The Demo account typically simulates live trading costs, including spreads and commissions, matching the live account type (e.g., Standard or institutional-grade account).
  • Leverage: The simulated leverage level (e.g., 1:100 or 1:400) must match the live account and regulatory settings to accurately calculate margin and maintain realistic risk parameters.
  • Validity Period: Many brokers offer a perpetual Demo account, while some limit usage to 30 days, requiring a new account to be opened thereafter.

How Demo account works in forex and CFD trading

The Demo account simulates the complete trading lifecycle using virtual inputs, offering a true-to-life practice environment without risk exposure.

The process involves these sequential steps:

  1. Server Connection: The trader’s platform (e.g., MT4 or MT5) connects to a dedicated demo server maintained by the broker.
  2. Virtual Funding: The account is provisioned with a configurable amount of virtual capital (e.g., $10,000), which serves as the account balance.
  3. Real-Time Data Feed: The demo server receives the same streaming Bid/Ask price feed from the broker’s liquidity providers as the live server.
  4. Simulated Execution: When a trade is placed, the demo server instantly executes the order at the current simulated price, tracking margin use, floating PnL, and equity changes.
  5. Risk Calculation: The platform uses the virtual balance, leverage, and position size to calculate margin requirements and stop-out levels, identically to a live account.
  6. Performance Logging: All simulated transactions are recorded in the platform’s history tab, allowing the trader to run strategy back-tests and performance analysis reports.

Example of Demo account with a real trade

The Demo account is used to test a strategy’s profitability before funding a live account.

Assume a trader wants to test a breakout strategy on EUR/USD with a virtual balance of $20,000.

Simulated Trade: Entry: 1.1000 (Virtual Execution) Exit: 1.1050 (Virtual Close) Position size: 1 standard lot (100,000 units) Simulated Cost (Spread only, zero commission): ~0.1 pip × $10/pip = $1 (Simulated Cost)

Calculation: Gross Simulated Profit: 100,000 units × (1.1050 – 1.1000) = $500 Net Simulated Profit: $500 (Gross) – $1 (Simulated Cost) = $499

Result: The Demo account provides a $499 simulated net profit, allowing the trader to confidently calculate that a similar live trade would yield the same dollar value profit, assuming identical market execution.

How Demo account affects your cost and risk

A Demo account has zero direct impact on trading costs, as no real money changes hands, but its proper use is essential for minimizing risk in future live trading.

Demo account compared with related concepts

Demo account vs Live Account

A Demo account uses virtual funds and simulated, though accurate, execution, meaning there is no financial risk or real market counterparty involved. A Live Account uses real capital and executes trades on the actual interbank market, exposing the trader to genuine financial risk, including slippage and counterparty risk. The core difference is the presence of real, risk-bearing capital in the Live Account.

Demo account vs Backtesting

A Demo account is a form of forward testing where a strategy is tested manually or automatically using real-time, streaming market prices in a simulation. Backtesting, in contrast, involves testing a strategy’s historical performance using past price data (e.g., 5 years of hourly prices) to generate a statistically predictive result, typically using dedicated software or the strategy tester tool within the platform.

How Afterprime handles Demo account

Afterprime offers a permanent, non-expiring Demo account across MT4, MT5, Webtrader, and TraderEvolution platforms, allowing traders indefinite practice time. The Demo account is configured to mirror the live account structure with institutional-grade spreads and zero commission on all instruments, utilizing the same price feed as live accounts. New traders can instantly create a Demo account with up to $100,000 in virtual funds to test execution speeds under 50 milliseconds and cost structures before transferring to a live environment.

Broker differences in Demo account across the industry

The key differences in Demo account offerings lie in the quality of the price simulation and the broker’s policy regarding expiry and renewal.

How to verify Demo account on your trading platform

Verification focuses on confirming that the account is correctly set up for risk-free practice and accurately reflects the desired live account parameters.

  • Check Account Name/Type: Open the ‘Navigator’ window (MT4/MT5) or ‘Accounts’ tab and confirm the account name explicitly contains the word “Demo.”
  • Verify Balance: Check the ‘Trade’ or ‘Account Summary’ tab to ensure the balance is the virtual amount you selected (e.g., $10,000), confirming the funds are virtual.
  • Confirm Server Connection: Right-click the connection status icon (bottom right of MT4/MT5) and confirm it is connected to the broker’s “Demo” server address.
  • Test Cost Simulation: Place a small trade and check the Commission field in the trade ticket or history to ensure the simulated cost matches the broker’s advertised live cost (zero commission for Afterprime).
  • Check Leverage: Right-click the account number in the Navigator/Accounts window and check the leverage is set to the intended ratio (e.g., 1:100 or up to 1:400).
  • Sanity check: If you cannot request a withdrawal of the balance via the client portal, the account is correctly designated as a Demo account.

Related Tools

Use these calculators to apply what you've learned:

No Fine Print. Better Trading Economics.

Built on transparency. Lowest total trading costs.
Execution you can measure. Rewards shared with you.

Invite only access for approved trading profiles.