Hi,

I'm trying to expose and access the default statistics generated by `PortfolioStatistics` at the end of my backtest, but I'm not finding an easy way to do so without inserting code into the library itself. I can see it's being called by `Engine.Run()` and stored in a local variable, so there's no way for me to access it from my algorithm.

Is there a recommended way to expose these statistics or, alternatively, to calculate them myself? I haven't been able to find any documentation on this. I suppose I could store the `Portfolio.TotalPortfolioValue` at each time point myself and then work back from there, but I'd like to know if there was a recommended approach.

Thanks in advance!

Author