For your forum post, you could craft a title and content like this:

 

Title:

 

“How to Backtest Multiple Metrics & Parameter Variations in One Code?”

 

Content:

 

Hi everyone,

I’m working on a trading algorithm and would like to know if QuantConnect allows me to backtest one code that can generate multiple results, like return, drawdown, and Sharpe ratio, over different parameter alterations and time periods (e.g., 2012, 2017, and 2019).

 

For example, if I change certain parameters like risk level or moving average lengths, can I generate results for each alteration in one test?

Is there an efficient way to do this within QuantConnect’s framework, or do I need to run separate backtests for each variation?

 

Any guidance, examples, or tips would be greatly appreciated!

 

Thanks!

Jacko