Is there a way to run the algorithm with the range of some parameters to find the best one based on the output data (net profit and so on)?

In other words, I have a strategy with two parameters: A and B. These parameters are included into interval [C;D]. I want to find the optimal A and B based on some criteria of output strategy data. Is there way to do it with QuantConnect?