Quant500 Academy

2. Anatomy of a strategy: signal, entry, exit and position sizing

Theory 5: What algorithmic trading really is

What separates a trader who lasts ten years from one who blows up the account in ten months is usually not the signal. It is the piece almost nobody talks about.

We now know what separates a systematic decision from a discretionary one. It is time to open up that 'explicit rule' and look at the specific building blocks of any trading strategy, systematic or not.

They are exactly the same pieces that an algorithm will later have to execute automatically.

The signal: the condition that switches the light on

Every strategy starts from a signal: the specific, observable condition indicating there may be an opportunity.

A signal can be based on several different sources:

The essential feature of a well-defined signal is that it must be objective and verifiable. Any person, or any program, looking at the same data must reach exactly the same conclusion about whether the signal has triggered, with no room for subjective interpretation.

The entry: triggering is not acting

A signal triggering does not automatically mean you should enter the position. The entry rule adds the further conditions confirming that it is time to act on that signal.

It can be as simple as 'enter immediately at market price as soon as the signal fires'. Or it can add extra filters:

Those filters are designed to cut down the number of false signals. But they come at a cost: you sometimes enter later and at a worse price than acting immediately would have secured.

That trade-off — fewer false signals versus a worse entry price — is one of the most recurrent design decisions in any strategy. And it rarely has a single correct answer: it depends on the asset, on the time horizon, and on how much 'noise' the chosen signal typically carries.

The exit: the half that gets forgotten

The exit rule is, in practice, just as important as the entry rule. And it usually gets considerably less attention when a strategy is designed for the first time.

It can be based on several things:

A strategy without a clearly defined exit rule is not, strictly speaking, a complete strategy. It is only half a strategy.

The reason is that it leaves the hardest decision unresolved in advance: when to accept that the position must be closed. And that is exactly the ground where loss aversion and the disposition effect from the previous level hit hardest.

Position sizing: the piece that decides survival

Position sizing — how much capital to risk on each trade — is the piece most often overlooked. And probably the one that most determines a strategy's long-term survival, even more than whether the signal itself is good or mediocre.

Risking a small, fixed percentage of total capital on each trade — no more than 1-2%, for instance — limits the damage of any individual losing streak.

That makes it possible to survive statistically long enough that, if the strategy really does have a positive edge over the long run, that edge eventually shows up in the aggregate results.

Compare the two extremes:

Hence the claim we opened with, which is no exaggeration. Position sizing, more than the signal, is often what separates a trader who lasts ten years from one who blows up the account in ten months.

The rest of Quant500

What you are learning, applied to the index every day:

The model portfolio, weekly in your inbox

Every Saturday, its week in one minute: how it went, the best and the worst, and which insiders bought with their own money. Plus, the day the model is rebuilt, which stocks come in and which go out. A simulation, not advice. At most one email a week, no ads, no account; one-click unsubscribe. Made by one person: Pol Gracia.

A model portfolio with simulated results, not a personalized recommendation. Your email is used for this only: privacy.

Behind the Academy and the rest of Quant500 there is one person: Pol Gracia Serrahima.