Back to builder reference

Value ref

time

Current bar's time component — component: hour|minute|day_of_week (0=Mon)|day_of_month|month|minutes_since_midnight|minutes_to_close|minutes_since_open. Session-aware variants return NaN for crypto/outside-session (silent-False); use AllOf with session.in_session==1 to gate around it (avoid Not wrapping).

Backing types

TimeSignalRef

Required fields

fieldreqenum: hour, minute, day_of_week, day_of_month, month, minutes_since_midnight, minutes_to_close, minutes_since_open-

Optional fields

factoranyOf (2 variants)-
resolutionanyOf (2 variants)Optional higher-timeframe override for this value ref. Set it inside lhs/rhs refs such as {'type': 'indicator', ..., 'resolution': '4h'} or {'type': 'price', 'field': 'close', 'resolution': '4h'}. Do not put timeframe/source_timeframe on the parent condition. None = strategy timeframe.
timezoneanyOf (2 variants)IANA timezone (e.g. 'America/New_York'). None or 'UTC' = no conversion.
typestring-

Backing types

The IR ValueRef classes this builder field resolves to.

TimeSignalRef
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.