Back to builder reference

Condition

sibling_compare
entrygate

Compare this sleeve's source to a named sibling sleeve's sibling_source on current bar (pairs trades). Symbol must be a member of the portfolio universe.

Category

Cross-sectional

Discriminator

type = "sibling_compare"

Roles

entry, gate

Required fields

opreqenum: >, >=, <, <=, between, ==, !=-
sibling_sourcereqoneOf (31 variants)Source ref resolved against the sibling's bars/indicators — independent of this sleeve's ``source``. E.g. {'type': 'price', 'field': 'close'} or {'type': 'indicator', 'indicator': 'ema', 'period': 50}.
sourcereqoneOf (31 variants)Per-sleeve scalar evaluated against this sleeve's own bars/indicators (the left-hand side of the comparison). E.g. {'type': 'price', 'field': 'close'}.
symbolreqstringSymbol of the sibling sleeve in the portfolio universe to compare against. Must be a member of the strategy's universe (e.g. 'QQQ' when the strategy trades ['SPY', 'QQQ', 'IWM']).

Optional fields

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