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.
E.g. by
MinTradeCountFilter
- __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:
- __init__(*args, **kwargs)#