dogabot dogabot

strategy

UTC Time Window Filter

How to block or allow trading by UTC time with allowedAfterUtc and blockedWindows on dogabot.

strategyfilterstime

The UTC Time Window rule is a gate filter—it never emits buy/sell on its own. It only allows or blocks pending signals based on the current UTC clock.

Parameters

ParameterPurpose
allowedAfterUtcOptional earliest time each day trading may proceed (e.g. 09:30)
blockedWindowsList of { startUtc, endUtc, enabled } intervals to block

Blocked windows

GoalSetup
No trading before US cash openallowedAfterUtc: 14:30
Skip low-liquidity Asian hoursBlock 00:0008:00
Flat before maintenanceBlock 23:4500:15

Where to use it

Filters only — under filters.entry, filters.increase, filters.reversal, or filters.exit.

See Strategy filters for how gates combine with directional filters.

Tips

Example

filters.entry only. allowedAfterUtc 09:30. blockedWindows: { startUtc: “22:00”, endUtc: “06:00”, enabled: true }. Signal at 10:15 UTC → allowed. Signal at 23:00 UTC → blocked (overnight window). Times are always UTC.

Related in the app

Ready to put this into practice?

Create a free account and explore dogabot with paper trading.

Try Backtest