Back to builder reference

Condition

at_session
entryexit

Execute N minutes after the session open or before the session close, on every session (anchor:open|close, offset_minutes: int >= 0 after the open, <= 0 before the close; -5 with close = five minutes before the close, half-days resolved against that date's real close). Schedules the decision at that instant and fills from the 1-minute execution clock, on ANY timeframe. The rule is evaluated ONLY then and places a market order, so other conditions on it are sampled at that moment; never put a protective exit on one. Equity only: refused for crypto (24h sessions have no open or close; use at_time). Only an entry or an exit trigger, alone or under all_of.

Category

Time & events

Discriminator

kind = "at_session"

Roles

entry, exit

Required fields

anchorreqenum: open, closeThe session boundary the offset is measured from: 'open' or 'close' of each trading session.
offset_minutesreqintegerWhole minutes from the anchor; negative is before it. Zero or more after the 'open', zero or less before the 'close' (-5 is five minutes before the close). At most a day either way.

Optional fields

kindstring-
Quawd

A subscription SaaS platform for designing, backtesting, and paper-trading algorithmic trading strategies on equities and crypto — described in plain English to an AI agent, no code required.

© 2026 Quawd. All rights reserved.

Quawd is a software tool, not a broker-dealer or investment adviser, and does not provide investment advice. Trading involves substantial risk of loss. Backtested and hypothetical results have inherent limitations and are not indicative of future performance.