Free Friday 11 – Sample Size

For this week I want to discuss personal comfort regarding sample size or number of trades. I often get asked to generate strategies that are more “swing-trade” oriented and hold for days to weeks.

I have no problem with these types of strategies and Build Alpha can certainly build them. This Friday’s strategy is exactly that, but at the end I explain my thoughts regarding this style of trading.

This strategy shorts the EURUSD futures whenever these 3 conditions are true:

  1. Today’s close is below today’s open
  2. Low[7] > Open[9]
  3. US 30Yr Bond’s High[0] <= US 30Yr Bond’s Open[2]

The exit conditions for this strategy are as follows:

  1. Maximum hold of 20 days
  2. 2.00 * 20 Period ATR Profit Target (Calculated at Entry)
  3. 1.50 * 20 Period ATR Stop Loss (Calculated at Entry)

Below I’ve attached a chart of the equity curve in TradeStation (left – by trade number) and the equity curve vs. S&P500 on the right generated by Build Alpha (by date).

As you can see these type of exits drastically reduce the number of trades (compared to say a 1 day maximum hold). Without getting technical, the more trades the lower the chances the strategy may be a “fluke”.

This strategy’s out of sample period began in 2012 which means that this strategy has had its last 20+ trades on “unseen” data and did quite well.

Some may say that is fine and they’re ready to proceed with this strategy, but others may say that this is not enough trades. This essentially comes down to personal preference.

The important note I’d like to make is… Build Alpha allows you to discard strategies that the software generates that do not have a certain number of trades.

For example, your personal preference might require at least 500 out of sample trades. If so, you would simply enter that number into Build Alpha and the software would then discard any strategies that do not trade frequently enough during the strategy generation process.


1 thought on “Free Friday 11 – Sample Size

  1. Great post! Just seeing more examples (from all the free friday posts), definitely helps with exploring all of the build alpha’s awesome functionality, just like super powers!

Leave a Reply

Your email address will not be published.