Navigation: RealTest Script Language > Syntax Element Details > OptKeepBest Category Settings or Optimize Settings Input a number (default is 0, meaning keep all) Description Keeps only the N highest-scoring tests during the run, discarding the rest as the optimization progresses. This makes it practical to explore a very large parameter space while retaining only the best results. Notes Requires OptSortResults. Use OptKeepByDate or OptKeepBySymbol to apply the limit per date interval or per symbol. Copyright © 2020-2026 Systematic Solutions, LLC