Skip to content
Zeagle Market Lab

Put a trading rule to the test

Choose a rule and a period. Compare the result with holding the same asset over those dates.

Write the rule before the test

A backtest applies a rule to older observations. Record the instrument, starting date and ending date first, so you can explain which part of the market the result describes.

If a rule uses a closing price, it can only act once that price is known. A simulated entry based on that close needs a later observation to avoid using information from the future.

In your test notes

Observation
Which price triggered the rule?
Execution
When could it first trade?
Comparison
What did holding return?

At your desk

Run the same rule across two historical windows. Keep the settings fixed and compare the drawdown, trade count and ending balance for each window.

Try it in the workspace

Open the strategy lab

From the original presentation Go Lab