ObjectiveWrapper#
API documentation for tradeexecutor.backtest.optimiser.ObjectiveWrapper Python class in Trading Strategy framework.
- class ObjectiveWrapper[source]#
- Bases: - object- Middleware between Optimiser and TS frameworks. - Passes the fixed data to the child workers 
 - __init__(pickled_universe_fname, search_func, parameters, trading_strategy_engine_version, decide_trades, create_indicators, indicator_storage, result_path, search_space, real_space_rounding, log_level, result_filter, draw_visualisation, ignore_wallet_errors)[source]#
- Parameters:
- pickled_universe_fname (str) – 
- search_func (SearchFunction) – 
- parameters (StrategyParameters) – 
- trading_strategy_engine_version (str) – 
- decide_trades (DecideTradesProtocol4) – 
- create_indicators (tradeexecutor.strategy.pandas_trader.indicator.CreateIndicatorsProtocolV1 | tradeexecutor.strategy.pandas_trader.indicator.CreateIndicatorsProtocolV2) – 
- indicator_storage (IndicatorStorage) – 
- result_path (Path) – 
- search_space (list[skopt.space.space.Dimension]) – 
- real_space_rounding (Decimal) – 
- log_level (int) – 
- result_filter (ResultFilter) – 
- draw_visualisation (bool) – 
- ignore_wallet_errors (bool) – 
 
 
 - Methods - __init__(pickled_universe_fname, ...)- __init__(pickled_universe_fname, search_func, parameters, trading_strategy_engine_version, decide_trades, create_indicators, indicator_storage, result_path, search_space, real_space_rounding, log_level, result_filter, draw_visualisation, ignore_wallet_errors)[source]#
- Parameters:
- pickled_universe_fname (str) – 
- search_func (SearchFunction) – 
- parameters (StrategyParameters) – 
- trading_strategy_engine_version (str) – 
- decide_trades (DecideTradesProtocol4) – 
- create_indicators (tradeexecutor.strategy.pandas_trader.indicator.CreateIndicatorsProtocolV1 | tradeexecutor.strategy.pandas_trader.indicator.CreateIndicatorsProtocolV2) – 
- indicator_storage (IndicatorStorage) – 
- result_path (Path) – 
- search_space (list[skopt.space.space.Dimension]) – 
- real_space_rounding (Decimal) – 
- log_level (int) – 
- result_filter (ResultFilter) – 
- draw_visualisation (bool) – 
- ignore_wallet_errors (bool) –