Navigation: Realtest Script Language > Syntax Element Details >

?Symbol

 

 

 

 

Category

Stock/Contract Information

Description

Symbol of the current security

Notes

The return value is a string which can be used in the Scan or Trades section or as input to any String Function.

See also Symbol, which returns the current symbol as a Symbol Constant, and SymNum, which allows dynamic symbol lookup.

?Symbol = "MSFT" and Symbol = $MSFT would both accomplish the same purpose, but it is slightly more efficient to use symbol constants.

Symbol constants also have the advantage of smart auto-complete when entering them.

 

 

 

Copyright © 2020-2024 Systematic Solutions, LLC