How long to paper trade before going live
By Oalgo · Last reviewed
There is no fixed length that makes a rule ready. A forward test should run long enough to produce the entries you need to count, and to cover the market conditions the rule was built for. Set the length before you start, and write it down, so the end date is not picked after you have seen the record.
What should set the length?
#- The number of entries you need to count before the record means anything.
- The market conditions the rule is meant for, such as a trend or a sideways range, which may not appear in a short window.
How do you count the time?
#Divide the entries you want by the entries per week you expect. Example: you want 30 entries, and the backtest shows a made-up 5 entries per week for the same rule. That is 6 weeks. Live prices may bring more or fewer entries than the backtest did over the same weeks, so check the count at the end of each week, not only at the start.
What counts as enough entries?
#Enough depends on the question. A test that checks a rule fires as written can stop once the count is clear. A test that compares the rule with its backtest over the same weeks needs the backtest's entries for those weeks, which takes longer. A rule tuned to fit past prices may need more time as well, because overfitting often shows up only on new prices.
A second example: a rule that trades rarely
#A second rule averages one entry a month in its backtest. Counting 10 entries takes it 10 months. The first rule, at 4 to 5 entries a month, reaches the same count in about 2 months.
| Rule | Entries per month in the backtest | Months to 10 entries |
|---|---|---|
| Weekly rule | 4 to 5 | About 2 |
| Monthly rule | 1 | 10 |
Either test the rule for longer, or accept that a rarer rule needs more time before its record says anything.
What can a test length not show?
#A forward test covers its weeks and no more. Real-world costs, such as the slippage a venue applies, sit outside what the simulation measures, so a long test still leaves them open.
Oalgo keeps the timing with you. You tell the AI your idea in your own words, check the rules it builds, and run the backtest and forward test on simulated funds. If you choose, at the end, you Go Live with your own Live Strategy on your own Venue Account at a Supported Venue.
Read next
- Backtesting vs forward testing: what is the difference?A backtest runs rules on past prices in one go. A forward test runs them on new prices as they arrive, with simulated funds. See the differences.
- Go Live: run your own tested rules on your own accountGo Live is the step after testing: your own Live Strategy on your own Venue Account. See who sends what, what you accept first, and how to pause or stop.
- What is overfitting?Overfitting is tuning rules so closely to past prices that they stop working on new ones. Learn why it fools people and how to check for it.