find_best_grid_search_results#
API documentation for tradeexecutor.analysis.grid_search.find_best_grid_search_results Python function.
- find_best_grid_search_results(grid_search_results, count=20, unique_only=True)[source]#
From all grid search results, filter out the best one to be displayed.
- Parameters:
unique_only –
Return unique value matches only.
If multiple grid search results share the same metric (CAGR), filter out duplicates. Otherwise the table will be littered with duplicates.
grid_search_results (list[tradeexecutor.backtest.grid_search.GridSearchResult]) –
- Returns:
Top lists
- Return type: