Documentation > StrategyQuant > Understanding automatic dismissal rules

Understanding automatic dismissal rules

Author: Mark Fric

August 31st, 2017

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)

StrategyQuant4 can be configured to dismiss strategies with "wrong" properties - it is set to dismiss (throw away) these strategies by default.

You can control this behavior in Rankings in Builder by clicking on the link Configure automatic dismissal.

When you open this dialog you can see that there are 8 different strategy checks, we'll explain them here:

  • No trades - means that the strategy contains no trades
  • Too many ambiguous trades - means that strategy contains too many trades that begin and end at the same bar, which means that the backtesting cannot be accurate.  
  • Too many open trades - if strategy reaches more than 100k open trades in parallel
  • No filled trades - if strategy places too many pending trades that are never filled
  • Zero PL trades - too many trades that have zero Profit/Loss. It means something is seriously wrong with the strategy.
  • Zero duration trades - trades have zero duration, they are closed right after they were opened
  • Unfinished trades - trades were never finished and run until the end of test
  • Too little trades - if there are less than 20 trades, the results are statistically insignificant.

​These checks are performed 40% ​of the history data are processed, it is made this way to save work processing wrong strategies. The threshold for triggering these rules is 25% of all the placed trades. So for example if at least 25% trades are ambiguous, the "too many ambiguous trades" rule is activated and strategy is dismissed.

You might have an impression that too big portion of strategies is dismissed
It is important to realize that these checks have to be done, because random process of strategy creation naturally creates also strategies that don't make any sense. There might even be a majority of such strategies - depending on your setting. Similar checks had to be made also in SQ3, but they were not configurable or even visible.

You can turn off any of these automatic checks​ and let StrategyQuant save also strategies with some of these "bad" properties, but you should know what you are doing. It is generally not recommended to trade such strategies.

If you have too many strategies that are dismissed automatically check your settings:

  • Isn't your SL too small? It might cause trades to close within the same bar.
  • Aren't you using an incorrect End of day or Trade range setting? This might cause trades to close too early.

​Checking your dismissal statistics

​Another nice feature of SQ4 is that you can check what were the dismissal statistics of the whole build process. You can check it by clicking on the link below:

It will display the following dialog:

Here you can see how many strategies were dismissed for what reason. Note that in addition to automatic dismissal rules you can see also dismissals caused by your own custom conditions!
So you can identify which conditions cause your strategies not to pass.

Leave a Reply

Please Login to comment