Choose the Comparison Price
Define whether the reference is the decision-time midquote, arrival quote, order limit or another documented price. For a buy, a higher fill is adverse relative to the same reference; for a sell, a lower fill is adverse. Keep commissions and financing separate. A difference from a backtest trade can also come from signal timing, data or order-model differences.