ninjatrader/utilities/strategy-analysis
2024-09-23 12:38:18 -07:00
..
combine_backtest_results.py Utilize forward fill method directly on combined backtest data frame in order to prevent deprecation warning 2024-09-23 12:38:18 -07:00
README.md Add documentation regarding the combine backtest result script 2024-09-23 12:30:10 -07:00

Strategy Analysis

Combine Backtest Results

The combine_backtest_results.py script will combine backtest results from the NinjaTrader Strategy Analyzer and plot them.

Backtest results can be exported from the Strategy Analyzer by right-clicking on the table in the Analysis tab and selecting "Export...".

Prior to running the script, make sure to set the following variables:

backtest_results_path = ''
backtest_result_plot_title = ''

The first variable defines the path where the exported CSV files are stored.

The second defines the title of the combined backtest result plot.