Navigation: Realtest Script Language > Syntax Element Details >

OrderPrice

 

 

 

 

Category

Current Position Information

Description

Entry order price

Notes

OrderPrice is the actual or implied price per share or contract of the entry order of this position.

For a strategy with EntryLimit and/or EntryStop this will be the limit or stop price that would have been used in an order generated by RealTest.

For a market-order strategy, OrderPrice is the Close of the most recently completed bar when the order is made.

Use FillPrice to obtain the actual entry price of the current position, which may differ from OrderPrice when there is a price gap between the close and next open.

 

 

 

Copyright © 2020-2024 Systematic Solutions, LLC