Hi Team,

It seems that Lean does not mark to market all open positions at the end of algorithm for backtest? Correct me if i'm wrong.

I saw there is a block which liquidate all holding in AlgoritmManager, I believe if that block is called, the portfolio return/value would be MTM.

However it is only available for live mode. Is it by design?

Thank you.