Back to builder reference

Value ref

named_value

Read a reusable value defined in this strategy by name or server id.

Save a definition with add_rule(value=..., name=...), then use named_value wherever a full per-symbol value operand is accepted. References are stored by id, so renaming does not change their meaning. Definitions may reference other definitions; missing references and cycles are refused before writing. The source is inlined and the consumer's usual restrictions apply, including offset history scope, window aggregate/gate placement and structural stops. No arguments or project-wide lookup are supported. Research addresses source parameters once under /values/<id>/source, never separately at each use.

Backing types

NamedValueRef

Required fields

value_idreqstringName or id of a value in this strategy; normalized to id on write

Optional fields

kindstring-

Backing types

The IR ValueRef classes this builder field resolves to.

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