Back to builder reference
Condition
cross_sectional_zscoreentrygate
Cross-sectional z-score of source across portfolio siblings on current bar (sample stddev; 0.0 when N<2 or stddev==0). Requires universe/portfolio.
Category
Cross-sectional
Discriminator
type = "cross_sectional_zscore"
Roles
entry, gate
Required fields
FieldTypeDescription
opreqenum: >, >=, <, <=, between, ==, !=-sourcereqoneOf (31 variants)Per-sleeve scalar that is standardised against the cross-sectional distribution of portfolio siblings on the current bar. E.g. {'type': 'indicator', 'indicator': 'rsi', 'period': 14}.valuereqnumberThreshold z-score (standard deviations from the cross-sectional mean). Common values: 1.0 = mild outlier, 2.0 = strong outlier, negative values for the lower tail.Optional fields
FieldTypeDescription
typestring-