Subscribe
EN

Guide · 2 min read

How to test a trading bot before using real money

Short answer: Test a bot in four stages and stop at the first one it fails: read its rules, backtest it with costs, run it on demo, then go live at a size you would shrug off. Each stage filters out a different kind of bad bot, and skipping one is how most people lose money on a robot.

Published: 24 October 2026.

Free, no sign-up On sale: the Monthly Pass and the Lifetime Pass. See the plans

Stage 1: Read the rules

If you cannot say in a sentence what the bot buys and why, stop. You should be able to see its stop, its size and its daily limit. See how to choose an AI trading bot.

Stage 2: Backtest with costs

Run the rules over past prices with the spread, commission and swap included, and keep part of the data unseen. Count the trades. The steps are in how to backtest a strategy for free, and the MT5 settings in the Strategy Tester guide.

Stage 3: Run it on demo

A backtest shows what would have happened. A demo shows what happens now, with real quotes and the bot's real behaviour. Run it for weeks, through a quiet spell, a trend and a news spike. Write down each trade. Track:

Compare these with the backtest. A wide gap is a warning, not bad luck. Demo fills are often kinder than real ones, so treat demo as a filter, not proof. See demo to live trading.

Stage 4: Go live tiny, if at all

If the bot passed the first three stages, start at a size you would shrug off, with the daily limit set. Keep a journal and compare live results with demo before you add anything. See how to keep a trading journal and why gold EAs fail live.

When to drop a bot

Test an AI agent without risking money

On the Baroq front page you pick a market and a style and watch a paper agent replay the last ten days of real prices, with the spread paid on every fill. A replay of the past is not a promise, but it shows you every trade and why it was taken. Build your own on the AI agents page: agents trade demo money only, and live trading is coming soon.

The Monthly Pass and the Lifetime Pass are software licences for your own MetaTrader account. They score every robot and strategy you run the same way, with costs inside every number. See the plans.

FAQ

How do I test a trading bot before using real money?

Read its rules, backtest it with costs on data it was not tuned on, run it on a demo account through different market conditions, and only then consider a very small live size. Stop at any stage where it fails.

How long should I run a bot on demo?

Long enough to see it through different conditions: a quiet spell, a trend and a news spike. Weeks is a floor, and the trade count matters more than the days. Under thirty trades proves almost nothing.

Is a demo account result reliable?

It is a good test of whether the bot runs and follows its rules. It is a weaker test of results, because demo fills are often kinder than real ones. Treat demo as a filter, not proof.

What should I track while testing?

Number of trades, win rate, average win and loss, the biggest drawdown, the longest losing run, and the costs paid. Compare them with what the backtest said.

When should I stop testing a bot and drop it?

When it breaks its own limits, when demo results sit far from the backtest, when you cannot explain its trades, or when the costs eat the edge.

Can I test an AI agent without risking money?

Yes. Baroq agents trade demo money only. On the front page you pick a market and a style and watch a paper agent replay the last ten days of real prices with the spread paid. A replay of the past is not a promise, and live trading is coming soon.

Gold EA Checking Kit, $9

Every check from these articles, on one printable page.

An educational tool. It is not investment advice. Trading leveraged products such as gold CFDs carries a high risk of losing money, and you can lose all of it.

BaroqTech makes software. It is not investment advice and it does not manage money. Trading leveraged products such as gold CFDs carries a high risk of losing money, and you can lose all of it. Results from a test or from a demo account do not predict results on a real account.

Free book · PDF · 6 pages and 1 more

The Gold Field Guide

The gold day hour by hour, the six forces behind the price and the releases worth a place in your calendar.

We send the download link to this address and keep the address for this book. Without the tick, that is the only email. The book itself is in English. Privacy: what we store and why.

Keep reading

All 73 guides

Markets in numbers

Compared

Seasonality

Volatility

Price history

Best time to trade

Moving averages

Market correlations

RSI

Limited time offer

20% off

your first month of the Monthly Pass

Offer ends 31 October 2026

We email you the code and one note when the trading system goes on sale. Unsubscribe in any email. Privacy