Hi everyone!  We’ve been working for a while to try tu run several optimizations and backtests in a row on LEAN locally.  Our idea is that the system should read input parameters from a .csv, input them to LEAN one by one, run an algorithm, and then export results to a separate .csv when done. 

Has anyone solved this problem?  Would love to hear how you did it with LEAN running locally.  Would very much appreciate the help on this post, or write me directly if your prefer. Right now our idea is to to make changes to the config.json and main.py files to change parameters, then run our algo again.

If you see a better way to achieve this, perhaps within the code of the strategies themselves, would love to hear it!

Thanks for the help,

Ricardo