I often find myself re-running custom projects with different input symbols or time frames. I know we now have a ‘Modify Symbols’ feature to replace symbols in project tasks, but a more convenient and flexible approach would be to provide a ‘foreach’ task that would iterative over a list of items and execution subtasks for each item.
As an example, you could create a list of symbols (EURUSD, GPBUSD, USDJPY) inside of a ‘foreach’ task, and then attach subtasks (or another project entirely) that would run replacing the input symbol from the list for each iteration. It would be great if this could be nest-able, for instance to have an outer foreach loop for symbols and an inner foreach loop for intervals.
So instead of making foreach in custom projects we will add a possibility to use mass modify symbols/timeframes and other settings through CLI.
I also reopened the task: https://roadmap.strategyquant.com/tasks/sq4_7022 with suggestion of how it could work