Skip to content
Beyond QuantsQUANT DEVELOPMENT
Appearance

COLOUR & CONTRAST

Paper appearance selected.
Discuss a project

Overview/Strategy backtesting

Strategy backtesting

Historical tests of your trading rules, with a trade log and stated assumptions.

Discuss this work
VALIDATION WINDOWS / 04
Architectural illustration
Static view

Layered time windows illustrate development, validation, holdout and review.

I backtest strategies in NinjaTrader, TradingView and MT5 or build a standalone test. We first confirm the rules and dataset, then define how the test handles timing, fills and costs. The delivery includes the settings needed to rerun it.

Project scope

AreaWhat we define
Rule definitionConditions, evaluation timing, conflicting rules, sizing and exits.
Data coverageSource, sample period, resolution, timezone and missing observations.
Costs & fillsFees, spreads, slippage and fill logic appropriate to the available data.
ValidationDevelopment, validation and holdout periods; parameter changes to inspect.
ReportingTrade fields, metric definitions and the outputs you need to review.

Make the rules executable

A written strategy often leaves timing or priority implicit. We resolve those decisions before relying on a test result.

  • Specify when a condition is evaluated and when an order can be placed.
  • Resolve simultaneous entry and exit conditions.
  • Define position state, sizing and session resets.

Inspect the trade-level evidence

The trade log links a result back to the implementation. It should be possible to follow an individual trade through the data and rules.

  • Record the timestamps, direction, size, prices and applied costs.
  • Inspect representative trades and known edge cases.
  • Keep data gaps and untested assumptions visible in the report.

Validate beyond one parameter choice

We choose evaluation periods that suit the strategy and available history. These stay separate from the data used to choose parameters.

  • Keep the holdout out of parameter selection.
  • Inspect nearby parameter values and different time periods.
  • Report the assumptions alongside historical results.

What you
receive

Final files, code access, ownership and support are agreed in the project scope.

Strategy specification

The final rules and the decisions made about timing and state.

Implementation & configuration

The agreed code, parameters, environment and instructions to rerun it.

Trade log

Trade-level output for review, with agreed fields and identifiers.

Report & review notes

Defined metrics, test conditions, validation observations and limitations.

ILLUSTRATIVE SPECIFICATION / NOT A LIVE SYSTEM
SPECIFICATION OUTLINE

market        agreed instrument
data          source + resolution + test period
entry         condition + evaluation timestamp
exit          condition + priority
size          rule + exposure limit
fill          documented assumption
costs         fees + spread + slippage
validation    development / validation / holdout
output        trades + configuration + report

Before we start

Do I need tick data?

That depends on the strategy. The resolution must support the decisions and fill assumptions you want to test. We agree the dataset before development and identify what it cannot establish.

Can you test a discretionary strategy?

We first identify the decisions that can be expressed as rules. Parts that depend on judgement need either an explicit definition or a separate review process.

Will the report prove the strategy will make money?

A backtest reports behaviour on historical data under stated assumptions. It does not establish future profitability. Its value is in the evidence and the questions it helps resolve.

Discuss your project.

Tell me about your strategy or the tool you need.

Prepare a project brief