Navigation: Realtest Script Language > Syntax Element Details >

ExitLimitTime

 

 

 

Category

Strategy Elements

Description

Specifies how a strategy exits positions when the ExitLimit formula is used

Choices

Intraday - ExitLimit specifies the price of a live limit order to be placed each day (default)

AtClose - exit at the close if the closing price touches or exceeds the ExitLimit price

AtOpen - exit at the open if the most recent closing price touched or exceeded the ExitLimit price

Notes

For a long position, an AtClose ExitLimit at price N is equivalent to an ExitRule of "C >= N" with ExitTime of AtClose.

For a long position, an AtOpen ExitLimit at price N is equivalent to an ExitRule of "C >= N" with ExitTime of AtOpen (or unspecified).

The main purpose ExitLimitTime is to enable trailing at-close-only limit orders using PrevExitLimit.

 

 

 

 

Copyright © 2020-2021 Systematic Solutions, LLC