“Trade the breakout with sensible risk” contains several unresolved decisions. A useful specification turns each one into a rule that two people can interpret the same way.
The minimum useful specification
Define the market and data, the signal, the execution assumption, the sizing rule, the exits, the operating window and the failure behavior. Give each parameter a name and unit. “Stop = 50” is ambiguous until it says points, ticks, a currency amount or something else.
A deliberately incomplete idea, made explicit
The following is a hypothetical design exercise, not a recommended strategy or tested configuration.
| Vague idea | Reviewable rule |
|---|---|
| Buy a breakout | After a completed bar closes above the maximum high of the preceding 20 completed bars, create a long-entry intent. |
| Use the close | Calculate the signal after the bar closes; model the entry at the following bar's open, subject to the stated costs. |
| One trade at a time | Do not create another entry while this strategy owns an open position or a pending entry request. |
| Small size | Use an explicitly configured fixed quantity for this prototype; state the unit and check the instrument's volume rules. |
| Exit if it fails | Choose and document the exact price-based or time-based exit before running the experiment. |
The final row remains a decision to make. Leaving it unresolved is more honest than silently inventing an exit in code.
Describe the boundaries
Specify session and time-zone behavior, missing-data handling, restart recovery and what happens when an order is rejected. Say whether shorts, overlapping positions, overnight exposure and multiple symbols are part of this version. Boundaries make estimates and comparisons meaningful.
Give examples that can fail
Provide one valid signal, one near miss and one edge case. For the example above, test a close exactly equal to the reference high, a missing prior bar and a duplicate event. Annotate the expected output; do not rely on the developer guessing the intended interpretation.
Separate correctness from performance
“The implementation follows these rules” and “the rules have attractive historical results” are different questions. First check the agreed behavior. Then assess the research with its data period, costs, baseline and experiment history. An acceptance criterion should not require a profitable outcome that the evidence cannot guarantee.
Keep exploring
Download the specification template ↗Educational engineering and research guidance. Examples do not establish a profitable or live-ready trading strategy.