Context
I enabled my strategy across multiple markets at 0852 CST on Mon 8/5, and it ran continuously until 1600 CST on Fri 8/9. For the purpose of this troubleshooting, let's look at ES only.
Problem #1 - Incorrect Dates On Strategy Performance Windows
Please reference Screenshot1. As mentioned, the strategy was only enabled from 8/5 - 8/9, yet the Start and End dates reflect 8/1 - 8/6 on both the Real-Time and Historical windows. I realize that there is a "lookback" period, but even with this taken into account, the dates do not make sense.
Problem #2 - Incorrect Number Of Trades (And PnL) On Strategy Performance Windows
Please reference Screenshot1. Both the Trade Performance log and the Executions log confirm that there were 21 trades taken on ES during the 8/5 - 8/9 timeframe. This is clearly not reflected in Strategy Performance windows.
Problem #3 - No Results Data On Real-Time Strategy Performance
Please reference Screenshot1. As seen, there are no results at all for Real-Time performance. For the record, I also tried this after disabling the strategy, and the output results were the exact same for both windows.
Problem #4 - Inaccurate Unrealized & Realized PnL On Strategies Tab Columns
Please reference Screenshot1. Why does this show -$5,937.50 Unrealized and $0.00 Realized PnL? According to the log file, the correct weekly sum was -$5,825.28. So the total isn't far from accurate, but my major concern is why it shows in the columns as Unrealized (i.e. and with $0 Realized for the week).
Problem #5 - Incorrect Number Of Trades (And PnL) On Manual Backtest Of Strategy Over This Time Period
Please reference Screenshot2. For comparison and verification, I also ran a manual backtest of the 8/5 - 8/9 week on Sataurday morning after the week's close using the Strategy Analyzer tool. As you can see, the results do not align with either the Strategy Performance tool (i.e. Screenshot1) nor the actual results as provided by the log files. Again, for example, 21 trades were taken over the week, yet the manual backtest of the week shows only 11 trades taken, along with completely different PnL figures.
I apologize if this a lot to dig through all at once, but I hope I've presented everything clearly. Thank you for your time and any answers you can provide!

Comment