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 business 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 -- use Classification to specify which scheme to request at Import time.

For other data sources you would need to provide them via a SymInfo file.

 

 

 

Copyright © 2020-2024 Systematic Solutions, LLC