Add EUR/USD test suite + map EUR news events to EUR/USD

Module 10 (21 tests): EUR config/registry/factory, EUR filter pipeline
(regime/quality/score/confidence/RSI-extended/weekend), EUR trade
geometry (swing SL buffers, pip-denominated spread gate, per-pair gate
contrast), and cross-pair isolation regressions (XAU report bit-equal
with eur_strategy flipped; XAU gates never fire on EUR reports).

news_engine: _get_affected_pairs now maps USD events to EUR/USD too and
adds an EUR entry (calendar warnings reach EUR scans).

175/175 pass.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Harwinder Sekhon
2026-07-10 21:06:55 -04:00
parent e0789457dc
commit e052c7aa3e
2 changed files with 344 additions and 1 deletions
+2 -1
View File
@@ -673,7 +673,8 @@ class NewsEngine:
@staticmethod
def _get_affected_pairs(currency: str) -> List[str]:
_MAP = {
"USD": ["XAU/USD"],
"USD": ["XAU/USD", "EUR/USD"],
"XAU": ["XAU/USD"],
"EUR": ["EUR/USD"],
}
return _MAP.get(currency, [])