Testing

The Logic Loop: from idea to tested system

By Koen van Goch · Updated

The Logic Loop is my research process for trading strategies. It starts with an economic reason the market should pay you, and only then lets the data test it. The idea becomes rules, the rules go through a plateau test and a deliberate attempt to break them, and the final check asks whether the system makes and loses money when the logic said it would. Ideas that fail are dropped; systems that only repeat trades I already have are shelved.

How the Logic Loop works

Nine steps, two exits and one line back to the start. That line gives the loop its name.

The Logic Loop

Select any block for the details.

Where this fits in building a full system

The Logic Loop covers one system, from idea to portfolio. Around it sit the questions that come before and after: what you want your trading to do for you, how deep a drawdown you can live through, and how you'll go live. Those are in how to build your own trading system.

The plateau test is the step most traders skip. How to avoid overfitting a backtest shows what it looks like and why a lone peak can't be trusted.

FAQ

Common questions

How many ideas make it through?

Most don't, and that's the point of the exits. An idea that fails on paper costs a few hours; a system that should have been dropped costs real money.

Why pick round numbers for parameters?

A value like 20 or 50 from the middle of a stable plateau shows you aren't tuning the system to the past. If 23 works and 20 doesn't, the system isn't robust.

What's the difference between dropping and shelving a system?

A dropped idea failed: the logic or the data didn't hold up. A shelved system works, but trades the same as something already in the portfolio, so it waits until the portfolio changes.

Does a new system need to be uncorrelated to be worth adding?

No. Other settings of an existing idea, or more stocks and markets, also add diversification. More systems means more, smaller positions, so one company's bad news hits a smaller part of the portfolio.

Want to run your own ideas through this?

In a free 30-minute introductory call we look at your ideas and whether a programme fits. You build, I challenge.