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]

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]

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.

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