NexusFi: Find Your Edge


Home Menu

 





How many trades minimum?


Discussion in Platforms and Indicators

Updated
      Top Posters
    1. looks_one solotrader with 3 posts (1 thanks)
    2. looks_two kevinkdog with 2 posts (1 thanks)
    3. looks_3 Quick Summary with 1 posts (0 thanks)
    4. looks_4 empty with 1 posts (0 thanks)
      Best Posters
    1. looks_one Zwaen with 1 thanks per post
    2. looks_two treydog999 with 1 thanks per post
    3. looks_3 kevinkdog with 0.5 thanks per post
    4. looks_4 solotrader with 0.3 thanks per post
    1. trending_up 1,998 views
    2. thumb_up 4 thanks given
    3. group 4 followers
    1. forum 8 posts
    2. attach_file 0 attachments




 
Search this Thread

How many trades minimum?

  #1 (permalink)
 solotrader 
Cyprus
 
Posts: 68 since Jul 2013

Is there any formula to estimate the minimum number of trades in a backtest for different timeframes so that the results are statistically significant? For example, for 1-min forex data, how many trades should the backtest generate to make any sense? Any pointers to articles will be appreciated.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Better Renko Gaps
The Elite Circle
About a successful futures trader who didnt know anythin …
Psychology and Money Management
REcommedations for programming help
Sierra Chart
ZombieSqueeze
Platforms and Indicators
 
  #3 (permalink)
 
treydog999's Avatar
 treydog999 
seoul, Korea
 
Experience: Intermediate
Platform: Multicharts
Broker: CQG, DTN IQfeed
Trading: YM 6E
Posts: 897 since Jul 2012
Thanks Given: 291
Thanks Received: 1,039


Generally 30 trades is what people look at "statistically significant" however i like to see hundreds. You can use the standerd error formula to find out how much error there is and determine if you have enough samples. 5% or less standard error is usually good.

Std Error = Std Dev / sqrt(N)

Reply With Quote
Thanked by:
  #4 (permalink)
 
Zwaen's Avatar
 Zwaen 
Netherlands, Blaricum
 
Experience: Intermediate
Platform: Excel, Python, R
Broker: IB
Trading: Options
Posts: 250 since Dec 2010
Thanks Given: 848
Thanks Received: 238

Indeed from statistics a minimum of 30 trades is the minimum to show some statistical signifcance. The goal of a long enough timespan is to account for different market states.

But generally speaking, I think you can break it down to 3 areas:

1) The number of trades
2) Timespan
3) Your position sizing


For example, 150 trades over the last 5 months would ( for me) have enough trades, but the timespan is too short. 50 trades over the past 3 years has ( again for me) a long enough timespan, but too little trades. One could also ask yourself if so little number of trades are tradable in itself. On the other hand, I don't need something to work for the past 10 years, if this ever exists at all. Last, If I would trade micro size I would risk far more, while starting outright with futures I would be far more careful.

Last you need to take ‘the jump from the diving board’ at some time, you will always have uncertainty. Just start with smallest amount or unit possible, and increase size gradually only and only after succes, while keeping a very sharp eye on developing drawdown to know when to pull the plug.

One of my worst enemies are my own false assumptions
Reply With Quote
Thanked by:
  #5 (permalink)
 
empty's Avatar
 empty 
Louisville, Kentucky
 
Experience: Intermediate
Platform: Sierra Chart, TastyTrade
Broker: Various
Trading: Futures, Options
Posts: 100 since Oct 2012
Thanks Given: 1,938
Thanks Received: 195


solotrader View Post
Is there any formula to estimate the minimum number of trades in a backtest for different timeframes so that the results are statistically significant? For example, for 1-min forex data, how many trades should the backtest generate to make any sense? Any pointers to articles will be appreciated.

Be careful about using one minute bars and be sure to take into account the spread. It's better to use actual tick data and capture the actual spread at the time of the trades. Most forex pairs spread change depending on the time of day, news, etc...

Follow me on Twitter Reply With Quote
  #6 (permalink)
 kevinkdog   is a Vendor
 
Posts: 3,666 since Jul 2012
Thanks Given: 1,892
Thanks Received: 7,360

I found this to be pretty useful:

7.2.2.2. Sample sizes required

Follow me on Twitter Reply With Quote
Thanked by:
  #7 (permalink)
zing99
vancouver, bc, canada
 
Posts: 4 since Nov 2014
Thanks Given: 10
Thanks Received: 0

Mark Douglas suggests 20 samples as adequate to test the win rate of a trade strategy. You can develop a rolling average spreadsheet that calculates the win rate of the most recent 20 samples (discard 1st result as you include 21st result etc.) thus always providing the most recent market results for the strategy.

Reply With Quote
  #8 (permalink)
 kevinkdog   is a Vendor
 
Posts: 3,666 since Jul 2012
Thanks Given: 1,892
Thanks Received: 7,360


solotrader View Post
Thanks, very informative but I think the assumption is that trades are normally distributed. One problem is that they often are not. Let us suppose that we have a backtest that shows a win rate of 70% but due to hidden fitting and a sample that arose from special market conditions the actual win rate is 50%. How many trades do we need to confirm or reject that? I found this article and after applying the formula I calculated 57 trades for 1% accuracy. The problem is that the result depends on the accuracy. Any suggestions?

I think the most important part of that article is right in the beginning:

Perhaps one of the most frequent questions asked of a statistician is,

"How many measurements should be included in the sample?"

Unfortunately, there is no correct answer without additional information (or assumptions).



I like that because it reminds me that there is no correct answer. Everything you do in trading has to be taken with a degree of uncertainty, and you have to try to plan accordingly.

Follow me on Twitter Reply With Quote
  #9 (permalink)
 solotrader 
Cyprus
 
Posts: 68 since Jul 2013


kevinkdog View Post
I think the most important part of that article is right in the beginning:

Perhaps one of the most frequent questions asked of a statistician is,

"How many measurements should be included in the sample?"

Unfortunately, there is no correct answer without additional information (or assumptions).



I like that because it reminds me that there is no correct answer. Everything you do in trading has to be taken with a degree of uncertainty, and you have to try to plan accordingly.

Good answer. I have been doing many tests and it appears that the sample size depends on actually on itself. meaning that the sample size depends on the quality of sample and not on quantity.

Reply With Quote




Last Updated on March 7, 2015


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts