I would like to implement my own system for tuning hyperparemeters from Python. I would like to be able to launch multiple parallel backtests via Python and access the results.

From all the docs I've read, LEAN launches the backtest and controls the Python script. Is it possible to control the entire process from outside of LEAN?

In addition, is it possible to step through the trade tick by tick and request the next iteration rather than the automatic feed? This is important for my training model, but obviously i wouldn't do that in production.

Author