Several tokens (or elements) in RTL return textual strings. These tokens include:
Token | Description |
---|---|
ALIAS | Alias Ticker - Used for Dial/Data Downloading |
CUSTOM | Custom String - Any user-defined character data that can be added as a column to quotepages |
EXCHR | Requested Exchange |
EXCHT | Exchange of Trade |
NAME | Security Name |
QP | QuotePage (QP = "myStocks" is true if the issue is in the "myStocks" quotepage) |
TICKER | Ticker Symbol |
In order to use these tokens in a RTL expression, you must compare them to other strings. You may also make use of the wildcard characters(*, ?) within your string. Some examples follow:
Example 1: Security Name
If, for instance, you were an myTrack user and you wanted to delete all the symbols in your system which are Invalid myTrack symbols. Since myTrack returns a name of "*** Invalid myTrack ticker ***" for all symbols which it does not recognize, you could perform a scan on your ".All Symbols" quotepage which looked for Security names of *** Invalid myTrack ticker ***. The syntax for you scan expression would look like this:
NAME = "*** Invalid myTrack ticker ***" Note that you must enclose the *** Invalid myTrack ticker *** in quotes. This scan would return a quotepage filled with all your Invalid myTrack symbols, and you could simply delete them all from your system.
Example 2: QuotePage - Finding overlapping symbols
If you had two quotepages and you wanted to find all the symbols which existed in both quotepages, you would do the following. Let's say the names of the quotepages are "hisQP" and "herQP". You would perform a scan on the "hisQP" quotepage and use the following expression.
QP = "herQP" The results of the scan will be a quotepage which contains all the symbols which the quotepages "hisQP" and "herQP" have in common.
Example 3: Ticker Symbol - using Wildcard Characters (* and ?)
If you had a large quotepage called "myOptions" and you wanted to filter out all the AOL options from that quotepage, you could do the following. You know that all the AOL options begin with the three letters "AOO". You can make use of the wildcard character, "*" to find all the symbols in the quotepage which start with "AOO". So you would run a scan on the quotepage "myOptions" using the following expression:
TICKER = "AOO*" There are two wiildcard characters. "*" represents any series of 0 or more characters, and "?" represents any single character. Therefore, "*EST??" would search for any text that ended in EST followed by any two characters, regardless of how it begins. So the words "FORESTER" or "BESTED" would match this criteria, but "BEST" would not.