Thank you to the "ET brain trust" members still with me on this one ...
To re-cap:
METHOD
Over 4 years of backtest data, I analysed whether multiple trades of different NASDAQ 100 stocks were occurring together.
I assumed any two trades were not statistically independent (i.e. were âstatistically dependentâ?) if :
a) BOTH entered on day âAâ,
b) BOTH exited on the day âBâ, and
c) BOTH were winners (or both were losers).
Otherwise I assumed they were statistically independent.
Then I averaged the number of âstatistically dependentâ trades that occurred each time the system traded.
RESULTS
The results are below (and I have no idea why they are so much further down the page LOL!).
CONCLUSION
From the results, is it fair to conclude that a good guestimate of the number of statistically independent "tests" of the strategy will be the total number of unique trades divided by 3 (i.e. approx 170+/yr)?
<table border="1">
<tr>
<th width=100 >Year</th>
<th width=150 >Total # of
unique trades</th>
<th width=180 >Avg # of
"statistically dependent" trades occuring each time strategy trades</th>
<th width=180>Std Dev of # of "statistically dependent" trades occuring each time strategy trades</th>
</tr>
<tr><td halingn=centre>2010</td>
<td>521</td>
<td>2.8</td>
<td>3.7</td></tr>
<tr><td>2009</td>
<td>435</td>
<td>2.5</td>
<td>3.6</td></tr>
<tr><td>2008</td>
<td>666</td>
<td>2.9</td>
<td>3.6</td></tr>
<tr><td>2007</td>
<td>577</td>
<td>2.4</td>
<td>2.3</td></tr>
</table>
To re-cap:
- I am investigating a systematic strategy (stock swing trades, daily bars).
- When backtested against individual NASDAQ 100 stocks, the strategy sometimes trades only a low (i.e. single digit) number of times each year, not enough for any performance analysis to be statistically significant.
- However, backtested against the current NASDAQ 100 stocks as a group, the strategy trades on average 500+ times in a year (over the last 4 years).
- I am trying to determine whether I have a statistically significant number of backtest trades to analyze the strategy viz-a-viz trading against all NASDAQ 100 stocks as a group (can I avoid being âfooled by randomnessâ?).
Following black diamondâs suggestion, I have been analysing how individual trades are distributed in time.Quote from black diamond:
...You would like to know if your signals are clustered in time or evenly distributed...your tests are not independent when treat all the individual trades as a big sample and ignore whether they happened at the same time or not...
METHOD
Over 4 years of backtest data, I analysed whether multiple trades of different NASDAQ 100 stocks were occurring together.
I assumed any two trades were not statistically independent (i.e. were âstatistically dependentâ?) if :
a) BOTH entered on day âAâ,
b) BOTH exited on the day âBâ, and
c) BOTH were winners (or both were losers).
Otherwise I assumed they were statistically independent.
Then I averaged the number of âstatistically dependentâ trades that occurred each time the system traded.
RESULTS
The results are below (and I have no idea why they are so much further down the page LOL!).
CONCLUSION
From the results, is it fair to conclude that a good guestimate of the number of statistically independent "tests" of the strategy will be the total number of unique trades divided by 3 (i.e. approx 170+/yr)?
<table border="1">
<tr>
<th width=100 >Year</th>
<th width=150 >Total # of
unique trades</th>
<th width=180 >Avg # of
"statistically dependent" trades occuring each time strategy trades</th>
<th width=180>Std Dev of # of "statistically dependent" trades occuring each time strategy trades</th>
</tr>
<tr><td halingn=centre>2010</td>
<td>521</td>
<td>2.8</td>
<td>3.7</td></tr>
<tr><td>2009</td>
<td>435</td>
<td>2.5</td>
<td>3.6</td></tr>
<tr><td>2008</td>
<td>666</td>
<td>2.9</td>
<td>3.6</td></tr>
<tr><td>2007</td>
<td>577</td>
<td>2.4</td>
<td>2.3</td></tr>
</table>