If I have a strategy with several free parameters, such as moving average length, leverage, etc. - what would be the Quantopian way to find the optimal combination of free parameters during backtesting? Are there API-functions, or do I have to implement it using for loops in a research notebook?