Category
Strategy Elements
Description
Specifies the number of shares or contracts to buy or sell when a position exits on an ExitStop
Input
Any formula specifying a number of shares or contracts
Notes
ExitStopQty can be used to model partial stop exits (scaling out of positions or reducing their size).
If ExitStopQty is not specified then then entire position is always exited when an ExitStop triggers.
The ExitStopQty 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 ExitLimitQty can also be added to a strategy.
See ExitQty for additional information and an example.
|