Zones
The bot trades two directional zones based on US cash-market hours (Eastern Time).
Zone definitions
| Zone | Window | Direction |
|---|---|---|
| Short zone | 9:29 AM – 4:01 PM ET, weekdays | Short |
| Long zone | Overnight, weekends, and holidays | Long |
Market holidays (configured in bot.js as a holidays set) stay in the long zone — the bot
skips shorting on those days.
Weekday timeline (ET)
────────────────────────────────────────────────────────
midnight 9:29 4:01 midnight
│ │ │ │
└──── LONG ─────┴──── SHORT ──────┴──── LONG ────┘Zone flips
At each zone change, the bot flips direction:
- Closes any existing position
- Opens a new position in the zone’s direction
Scheduling uses node-cron for the 9:29 AM / 4:01 PM ET transitions. Times can
auto-adjust from collected market data — see Adaptive Learning.
Related
- Profit Taking — exits inside a zone
- Architecture — cron + state files
Last updated on