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.
This commit is contained in:
+2
-1
@@ -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, [])
|
||||
|
||||
Reference in New Issue
Block a user