Navigation: Realtest Script Language > Syntax Element Details >

S.Exposure

 

 

 

 

Category

Daily Test Statistics

Description

Total fraction of allocation held overnight in open positions by this strategy on this test date

Notes

S.Exposure is calculated as the sum of FillFraction for each position held overnight each day.

S.Exposure, like FillFraction, is always positive, regardless of side.

To calculate net long-short exposure while a test is running, use PositionSum(Side * FillFraction).

When referenced from entry-related formulas in a strategy that enters positions at the open or at the close, S.Exposure will have been reduced by any exits that occurred at that same time.

Use Combined or Extern to obtain this value for all strategies or for a specific other strategy or StatsGroup.

 

 

 

 

Copyright © 2020-2024 Systematic Solutions, LLC