Navigation: Realtest Script Language > Syntax Element Details >

#BySect

 

 

 

 

Category

Cross-Sectional Functions

Description

A secondary cross-sectional function, which requests that the primary function be calculated separately for each group of stocks that share the same economic sector name

Example

Calculates the average 100-bar ROC of all stocks in this sector and stores it as "SectROC" for each stock.

Notes

Requires data with sector names in each stock record. Norgate provides these automatically. For other data sources you would need to provide them via a SymInfo file.

 

 

 

Copyright © 2020-2022 Systematic Solutions, LLC