EDIT: Possible explanation (from Dan) is that since there are two different data sources (one for the live contest entry and one for the backtest) that there may have been a data error in one of the sources that would likely generate two different results.
The results for my latest contest entry (ranked #1 but has been running now for only 2 days) do not match a backtest (using the exact same code, date range, and settings)?
The contest entry results state that it has a P/L of $346.39 but the backtest results state a P/L of $316.72. Shouldn't these be the same!?
Since I use order_target_percent in my alogos I depend on total portfolio value each day to make new proportionate trades. If the cash position is different then the algo will make different trades accordingly. This is exactly what happened on the second day and as a result the trades from the contest entry do not match the trades from the backtest. The trades should have been identical both days.
Is anyone else seeing this? A quick and easy way to test is to take any contest entry from this month and run a backtest with the exact same code, date range, and settings; then look at the "Dollar P/L" from the contest header and the total "Gains" (from the backtest Daily Positions & Gains summary) and compare.
I am trading a basket of several stocks each day, many with potential dividends. Perhaps something is amiss with the cash calculations there? Are the commissions and slippages calculations different between the contest and the backtest? What else could cause this discrepancy? I'd be curious to hear from anyone that is trading several stocks (that may have dividends) each day with order_target_percent.