Back to builder reference

Condition

rank
entrygate

Cross-sectional rank of source in [0.0, 1.0] across portfolio siblings on current bar (lowest=0, highest=1). Requires universe/portfolio with 2+ symbols.

Category

Cross-sectional

Discriminator

type = "rank"

Roles

entry, gate

Required fields

opreqenum: >, >=, <, <=, between, ==, !=-
sourcereqoneOf (31 variants)Per-sleeve scalar to rank across portfolio siblings on the current bar. Typically an indicator or price ref, e.g. {'type': 'indicator', 'indicator': 'rsi', 'period': 14} or {'type': 'price', 'field': 'close'}. Any SignalRefValue is accepted.
valuereqnumberThreshold to compare the rank against. Rank is in [0.0, 1.0]; use 0.66 for top tercile, 0.9 for top decile, 0.5 for the median.

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.