Align strategy and benchmark returns before filtering
Start with equally spaced whole-account returns and benchmark total returns covering identical start and end timestamps. Monthly observations are one common convention. Match currency and treatment of dividends, then state strategy trading costs, financing and fees. Remove the performance effect of deposits and withdrawals before using account returns.
- Define U as all valid paired periods with benchmark return b[t] > 0, and D as those with b[t] < 0. Exactly zero benchmark returns belong to neither set. Keep their strategy returns in full-period performance reporting.
- Keep a positive strategy return in D if the benchmark fell that period. Filtering on strategy losses instead answers a different question.
- A missing observation is not a zero return. Repair the source or use common valid intervals; a two-month strategy return cannot be matched to a one-month benchmark return.
- Use equity marked to market at each valuation boundary, including idle capital and open positions. Individual closed-trade percentages do not form a synchronized account-return series.
- Choose a benchmark that fits the mandate before reviewing the ratios. Record its identifier and price-versus-total-return variant so the comparison can be repeated.