Back to builder reference
Condition
at_timeentryexit
Execute at a specific clock time (e.g. 'buy at 10:16'). Time is HH:MM in the exchange session timezone. Schedules the decision at that instant and fills from the 1-minute execution clock, so the time is exact on ANY strategy timeframe -- daily included. The rule is evaluated ONLY then, so other conditions on it are sampled at that moment; never put a protective exit on one. A time outside that date's session (15:30 on a 13:00 half-day) simply does not occur that day, so an exit on one holds the position instead of firing.
Category
Time & events
Discriminator
kind = "at_time"
Roles
entry, exit
Required fields
FieldTypeDescription
timereqstringClock time in HH:MM 24-hour format, interpreted in the exchange session timezone. Schedules the decision at exactly this instant — it is never snapped to the strategy's bar grid, and works on any timeframe including daily.Optional fields
FieldTypeDescription
kindstring-