render_grid_search_result_table#
API documentation for tradeexecutor.analysis.grid_search.render_grid_search_result_table Python function.
- render_grid_search_result_table(results)[source]#
Render a grid search combination table to notebook output.
Highlight winners and losers
Gradient based on the performance of a metric
Stripes for the input
Example:
grid_search_results = perform_grid_search( decide_trades, strategy_universe, combinations, max_workers=get_safe_max_workers_count(), trading_strategy_engine_version="0.5", multiprocess=True, ) render_grid_search_result_table(grid_search_results)
- Parameters:
results (pandas.core.frame.DataFrame | list[tradeexecutor.backtest.grid_search.GridSearchResult]) – Output from
perform_grid_search()
.- Returns:
Styled DataFrame for the notebook output
- Return type:
DataFrame