ResultFilter#

API documentation for tradeexecutor.backtest.optimiser.ResultFilter Python class in Trading Strategy framework.

class ResultFilter[source]#

Bases: Protocol

Apply to drop bad optimiser result.

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

__call__(result)[source]#

Return true if the optimiser result satifies our filter criteria.

Parameters:

result (GridSearchResult) –

Return type:

bool

__init__(*args, **kwargs)#