Groups

Groups

Scan Syntax Reference: Groups

There are several different groups of stocks that you can set as filters for your scan, including indexes, sectors and industries, and even your own ChartLists. For more information on writing scans using these and other scan clauses, please see our Support Center article on Writing Scans.

Indexes and ETFs

Users can scan for stocks in several different indexes, found in the Indexes and ETFs dropdown menu in the Advanced Scan Workbench. From this menu, you can also choose to limit your scan results to various different types of ETFs.

Index Groups

Whether or not the security is a member of the given index or other group. Select and insert the group from the Scan Builder, and the correct group code will be inserted into your scan for you.

Syntax:

  • group

Operators:

  • is, is not, =, !=

Examples:

  • [group is DOW30]
  • [group = SP500]
  • [group is not ETF]

Tip: To learn what stocks are in an index, run a scan that just has the group clause in it. For example, to find out which 100 stocks are in the S&P 100, run the following scan:

  • [group is SP100]

Sectors and Industries

Users can scan for stocks in a specific US or Canadian sector or industry, found in the Sectors and Industries dropdown menu in the Advanced Scan Workbench.

Sector and Industry Groups

Whether or not the security is a member of the given sector or industry. Choose the correct country (currently US or Canada) below the dropdown menu in the Scan Builder. Then select and insert the sector or industry from the dropdown menu, and the correct group code will be inserted into your scan for you.

Syntax:

  • group

Operators:

  • is, is not, =, !=

US Examples:

  • [group is ConsumerStaplesSector]
  • [group != ClothingAccessories]

Canada Examples:

  • [group = CaConsumerStaples]
  • [group is not CaClothingStores]

Tip: To learn what symbols are in a sector or industry, run a scan that just has the group clause in it. For example, to find out which stocks are in the biotechnology industry, run the following scan:

  • [group is Biotechnology]

ChartLists

Users can scan for securities that are included in one of their ChartLists, found in the ChartLists dropdown menu in the Advanced Scan Workbench.

Warning: Scanning a ChartList will only return symbols on the ChartList that are actually in the scan engine. Some symbols are not available in the scan engine, so they will not be returned as scan results even if they are in the ChartList being scanned.

For more tips on scanning ChartLists, check out our Scanning Your ChartLists article in the Support Center.

ChartList Groups

Whether or not the security is a member of your specified ChartList. Select and insert the ChartList from the dropdown menu in the Scan Builder, and the correct group code will be inserted into your scan for you. Note that the group code will just be a number, but a comment with the ChartList's name will be inserted right after the clause.

Syntax:

  • favorites

Operators:

  • is, is not, =, !=

Examples:

  • [favorites list is 435] // 1220 International ETFs
  • [favorites list != 18] // LSE BEARISH SCAN RESULTS - 2017-02-28