GridParameter#
API documentation for tradeexecutor.backtest.grid_search.GridParameter Python class in Trading Strategy framework.
- class GridParameter[source]#
Bases:
object
One value in grid search matrix.
- __init__(name, value, single, optimise=False)#
Methods
__init__
(name, value, single[, optimise])Handle use of rounded Decimals in optimiser.
is_searchable
()to_path
()Attributes
Is this parameter a search space point in an optimiser
Name e.g.
Value e.g 0.8
Was this parameter part of the grid search space, or is it a single parameter.
- single: bool#
Was this parameter part of the grid search space, or is it a single parameter.
Also true for empty lists