Blocks trading on affected currency pairs during high-impact news events.
PipsGuard pulls the economic calendar and identifies upcoming news events with their affected currencies and impact levels. During the blackout window (configurable minutes before and after the event), trading is blocked on any symbol containing the affected currency.
For example, if a USD news event is scheduled, EURUSD, GBPUSD, XAUUSD, and all other USD pairs are blocked. The blackout lifts automatically once the post-event window expires.
| Parameter | Default | Description |
|---|---|---|
| minutes_before | 15 | Block trading this many minutes before news |
| minutes_after | 15 | Block trading this many minutes after news |
| impact_levels | high | Which levels to block: high, medium, low |
| auto_close_before_news | false | Close positions before news window starts |
| block_all_during_news | false | Block ALL symbols (not just affected pairs) |