BacktestResult#
API documentation for tradeexecutor.backtest.backtest_runner.BacktestResult Python class in Trading Strategy framework.
- class BacktestResult[source]#
Bases:
object
What we have after backtest
- __init__(state, strategy_universe, diagnostics_data, indicators)#
- Parameters:
state (State) –
strategy_universe (TradingStrategyUniverse) –
diagnostics_data (dict) –
indicators (StrategyInputIndicators) –
- Return type:
None
Methods
__init__
(state, strategy_universe, ...)Attributes
The resulting state after the backtest run
Universe we loaded
Python bag of values for internal testing
Indicators we calculated for the backtest
- strategy_universe: TradingStrategyUniverse#
Universe we loaded
- indicators: StrategyInputIndicators#
Indicators we calculated for the backtest
- __init__(state, strategy_universe, diagnostics_data, indicators)#
- Parameters:
state (State) –
strategy_universe (TradingStrategyUniverse) –
diagnostics_data (dict) –
indicators (StrategyInputIndicators) –
- Return type:
None