Navigation: Realtest Script Language > Syntax Element Details >

#ByMkt

 

 

 

 

Category

Cross-Sectional Functions

Description

A secondary cross-sectional function, which requests that the primary function be calculated separately for each group of individual futures contracts within the same market.

Example

Rather than ranking all symbols in the data file by volume, each market-specific subset is ranked separately.

Having defined this data item, you could then simply refer to MktRank for the current symbol to see if it's the current highest-volume contract in its market.

See the example script futures_volume_rank.rts for a complete implementation of this.

Note that this mechanism only works with Norgate futures data, or with data that uses an identical or equivalent naming convention.

See Special Syntax for Individual Futures Contracts for additional details.

 

 

 

Copyright © 2020-2022 Systematic Solutions, LLC