GridSearchDataRetention#

API documentation for tradeexecutor.backtest.grid_search.GridSearchDataRetention Python class in Trading Strategy framework.

class GridSearchDataRetention[source]#

Bases: Enum

What grid search data we generate and load.

  • We want to discard unneeded data to save memory

See GridSearchResult.

__init__()#

Attributes

all

Pass all grid search data to the parent notebook process

metrics_only

Discard state

all = 'all'#

Pass all grid search data to the parent notebook process

Includes full state of the backtest results

metrics_only = 'metrics_only'#

Discard state