Navigation: Realtest Script Language > Syntax Element Details > ExitLimitQty Category Strategy Elements Description Specifies the number of shares or contracts to buy or sell when a position exits on an ExitLimit Input Any formula specifying a number of shares or contracts Notes ExitLimitQty can be used to model partial limit (target) exits (scaling out of positions or reducing their size). If ExitLimitQty is not specified then then entire position is always exited when an ExitLimit triggers. The ExitLimitQty formula must calculate the number of shares or contracts to exit regardless of the strategy's QtyType setting. To model partial exits for the other exit types, ExitQty and/or ExitStopQty can also be added to a strategy. See ExitQty for additional information and an example. Copyright © 2020-2025 Systematic Solutions, LLC