Navigation: Realtest Script Language > Syntax Element Details >

IsExit

 

 

 

 

Category

Current Position Information

Description

True when the formula being evaluated pertains to a position being exited

Notes

IsExit is provided for the few strategy formulas that are evaluated at both entry time and exit time.

This include:

Commission

Slippage

OrderNote / OrderExtra

Use IsExit in any of the above formulas as needed to differentiate entry vs. exit values.

For example in a long strategy you could account for the extra SEC Section 31 fee on the sale of shares:

 

 

 

Copyright © 2020-2024 Systematic Solutions, LLC