Skip to content
Algo Trade Analytics Docs

syminfo.sector - Pine Script Variable

Returns the sector of the symbol, or na if the symbol has no sector. Example: “Electronic Technology”, “Technology services”, “Energy Minerals”, “Consumer Durables”, etc. These are the same values one can see in the chart’s “Symbol info” window.

string

simple

  • A sector is a broad section of the economy. An industry is a narrower classification. NASDAQ:CAT (Caterpillar, Inc.) for example, belongs to the “Producer Manufacturing” sector and the “Trucks/Construction/Farm Machinery” industry.