create_grid_combination#

API documentation for tradeexecutor.backtest.optimiser.create_grid_combination Python function.

create_grid_combination(result_path, search_space, index, search_args, real_space_rounding)[source]#

Turn scikit-optimise search arguments to a grid combination.

GridCombination allows us to store the results on the disk and match the data for the later analysis and caching.

Parameters:
  • result_path (Path) –

  • search_space (list[skopt.space.space.Dimension]) –

  • index (int) –

  • search_args (list[str | float | int]) –

  • real_space_rounding (Decimal) –

Return type:

GridCombination