Skip to content
Alphanume Learn

Ideas and Trading Rules

Turn an Idea into a Research Test

Apply this in a guided build · Open the project →

You will build a small test with four parts: a question, a dataset, a calculation, and a check of what could explain the result.

The stock-event project runs this process on real lockup events and stock prices. The practice below starts with four illustrative gross returns so the arithmetic is easy to inspect.

1. State the rule

Write down which events qualify, when to enter, and when to exit. For example: select fixed-date share releases above a chosen size, enter at the first sellable session's open, and exit at the tenth session's close.

Choose those rules before reading the outcome. If you change them after seeing the result, call that run exploratory.

2. Inspect the data

Know what one row represents. A lockup row is a release tranche, or one part of a release schedule. An earnings row is a company event. A daily-signal row is a stock on a date.

Check when the input was available. Keep later outcomes separate from the fields used to select a trade. The project Data tab shows the source, window, preparation rules and omitted observations.

3. Measure the result

Start with a count, an average and the worst result. Use gross returns unless the exercise says otherwise.

Calculate the mean gross return

Python · in-browser

Count the positive observations

Python · in-browser

4. Check the explanation

Did one event drive the average? Did the result change in a later period? Were missing outcomes omitted rather than filled with zeros?

A test that finds no useful effect is still useful research. The task is to learn what the evidence supports, then decide what to test next.

Knowledge check

2 questions

1. You changed the entry rule after reading every outcome. How should you describe that run?

2. The average is positive, but one large losing event dominates the risk. What should you inspect?