Define allowed trading windows. Block everything outside.
Set your trading hours and PipsGuard blocks all trade requests outside that window. Optionally auto-close positions when the window ends. This enforces your trading schedule — no late-night "just one more trade."
You define a start time and end time in your timezone. Outside that window, PipsGuard rejects all new trade requests. This keeps you trading during your best hours and prevents low-quality trades during off-peak sessions.
| Parameter | Default | Description |
|---|---|---|
| start_time | 08:00 ET | Trading window opens |
| end_time | 20:00 ET | Trading window closes |
| timezone | America/New_York | Your timezone for time calculations |
| auto_close_outside_hours | false | Close positions when window ends |
| active_days | Mon-Fri | Which days this rule applies |
| exempt_symbols | [] | Symbols excluded from time restrictions |