I am doing the research work on the specific pattern with historic data. Basically, I need set up customer factors, run pipeline and calculate the profit based on the pipeline output. I am trying to find out the filter that can filter out the stocks and left the stock potentially with the highest profit. For example, I set a filter based on today's return. I need the pipeline runs for 10% return filter, 15% return filter, etc. Then, I can find out the best filter that suits my needs.
So, I need the pipleline run in a loop with different factors. How can I do that?