Back to builder reference

Value ref

event_window

Calculation over distinct facts in a preceding knowledge-time window.

Each fact contributes its latest eligible version. Corrections change its value without refreshing its original publication age. The interval includes its start and excludes the current read instant. Count, sum and distinct count return zero for an empty complete window; minimum and maximum are missing. Missing required fields or publication metadata remain missing.

Backing types

EventWindowValueRef

Required fields

event_type_idreqstringEvent type from list_event_types().
operationreqenum: count, sum, count_distinct, min, max-
window_minutesreqintegerLength of the preceding knowledge-time window, in minutes.

Optional fields

clockstring-
event_fieldanyOf (2 variants)Payload field for sum, distinct count, minimum or maximum. Omit for count.
kindstring-
resolutionnullUnsupported on this value ref; only null is accepted.
symbolnullUnsupported on this value ref; only null is accepted.

Backing types

The IR ValueRef classes this builder field resolves to.

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