Navigation: Realtest Script Language > Syntax Element Details >






Current Position Information


Entry fill price


FillPrice is the price per share or contract at which this position was entered.

It is most often used to compute ExitLimit and ExitStop prices.

FillPrice can also be used in the Quantity formula as part of your position size calculation. See notes under that topic for details.

The one exception to FillPrice being the entry price is when it is used in the Commission or Slippage formulas. Since those formulas are evaluated separately for the entry and exit sides of each round-trip trade, FillPrice automatically retrieves the exit price when these two formulas are evaluated at position exit time.

If for some reason a strategy wants to know the fill price for this symbol in a different strategy, Extern(@strategy_name, FillPrice) can be used.




Copyright © 2020-2021 Systematic Solutions, LLC