Back to builder reference
Value ref
timeReference to the current bar's time field.
The sub-metric selector is named field.
Calendar/intraday fields: hour, minute, day_of_week (0=Mon),
day_of_month, month (1=Jan), minutes_since_midnight.
Session-aware fields (use the strategy's session metadata):
minutes_to_close, minutes_since_open. Have no value for crypto (24h)
and pre/post-market bars. A comparison over a missing value is unknown and
takes no action, negated or not: not(minutes_to_close <= 5) does not
fire outside the session.
Backing types
TimeValueRef
Required fields
FieldTypeDescription
fieldreqenum: hour, minute, day_of_week, day_of_month, month, minutes_since_midnight, minutes_to_close, minutes_since_open-Optional fields
FieldTypeDescription
kindstring-resolutionnullUnsupported on this value ref; only null is accepted.symbolnullUnsupported on this value ref; only null is accepted.timezoneanyOf (2 variants)IANA timezone (e.g. 'America/New_York'). None or 'UTC' = no conversion.Backing types
The IR ValueRef classes this builder field resolves to.
TimeValueRef