Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Figures for performance measures

Comparing performance measures obtained using back test in excel and the one provided by Quantopian I found out that they are quite different (especially Sharpe, Sortino, and information ratios).

So I have a question which values of the portfolio is used by the system?
I tried values obtained every morning using before_trading_start function, and another values were taken at the end of each day (if trade-bar time is 16:00 than print portfolio value).