Fix on Sell order lossing by blocking time

This commit is contained in:
Harwinder Sekhon
2026-07-16 12:17:56 -04:00
parent fe7d4c5d4a
commit 665ffdda48
6 changed files with 126 additions and 2 deletions
+4
View File
@@ -228,6 +228,10 @@ class XauStrategyConfig:
# Market regimes in which XAU SELL setups may not fire. Empty by
# default; per-timeframe factories opt in.
sell_blocked_regimes: List[str] = field(default_factory=list)
# Bar-CLOSE (decision-time) UTC hours in which XAU SELL setups may
# not fire. Empty by default; per-timeframe factories opt in.
# BUYs are unaffected (unlike blocked_hours_utc, which is both-way).
sell_blocked_hours_utc: List[int] = field(default_factory=list)
# ── M5-specific filters ──────────────────────────────────────
# M5 signals are noisy; require stronger confirmation before