GridSearchWorker#

tradeexecutor.backtest.grid_search.GridSearchWorker Python class in Trading Strategy framework.

class GridSearchWorker[source]#

Bases: Protocol

Define how to create different strategy bodies.

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

__call__(universe, combination)[source]#

Run a new decide_trades() strategy body based over the serach parameters.

Parameters:
Returns:

Return type:

GridSearchResult

__init__(*args, **kwargs)#