Trading simulator: test rules with simulated funds
By Oalgo · Last reviewed
A trading simulator runs your trading rules with simulated funds and records each trade the rules would have made. No real money is at risk, and nothing is sent to a venue. The main difference between simulators is the price data: past prices replayed in one go, or prices that arrive as the market moves.
What does a trading simulator do?
#- It takes the rules you wrote: the entry, the exit and the stop.
- It runs them over a price series, past prices or live ones.
- It records each simulated trade with its side, entry price and exit price.
- It shows the trade list, so you can read what the rules did one trade at a time.
How does Oalgo's simulator differ from a plain one?
#Oalgo has two steps. A backtest runs your rules on past prices in one go. A forward test runs the same rules on live prices as they arrive. Each uses simulated funds only, and no real order is placed in either. A fake trading simulator that replays past prices covers only the first of those steps. The forward test adds prices the rules have never seen, which a replay cannot supply.
What does a worked example look like?
#Take one rule. It enters long when a candle closes above 100, exits at a target of 103.0, and stops out at 99.0. The simulator starts with a made-up balance of simulated funds. The candle that closes at 100.5 triggers the rule, and the record shows an entry at 100.6. Two candles later price reaches 103.0, and the record shows the exit. Each line carries its candle times, so you can find the two candles on a chart.
What should you check in the record?
#Check the entry time against the candle on a chart, and check that the stop and target match the rule as written. A record that does not match the rule points to a fault in the rule or in the test. Find out which before you read any number in it.
| Runs on | Funds | Real order sent | |
|---|---|---|---|
| Plain replay of past prices | Past prices, in one run | Simulated | None |
| Oalgo backtest | Past prices, in one run | Simulated | None |
| Oalgo's forward test | Live prices, as they arrive | Simulated | None |
What can a trading simulator not show?
#A simulator shows what the rule did on the prices it ran on. It cannot show the price a real order would have received at that moment. Oalgo's terms say a simulation does not fully account for real costs such as slippage and venue fees.
In Oalgo, the path starts with your idea in your own words. The AI builds the rules, you check them, and then the backtest and the forward test run on simulated funds. Going Live comes after that, only if you choose, and it runs your own Live Strategy on your own Venue Account at a Supported Venue.
Read next
- What is paper trading? Practice with simulated fundsPaper trading is trading on live prices with simulated funds and no real order. Learn what it shows, what it cannot, and how Oalgo's forward test does it.
- Backtesting vs paper trading: which should come first?Backtest first to check what rules do on past prices, then paper trade them on live prices with simulated funds. See what each answers and why the order.
- How to backtest a trading strategy without codingBacktest a trading strategy without coding: tell Oalgo AI your idea, check the rules it builds, then test them on past and new prices. A step-by-step guide.