OPEN-SOURCE SCRIPT

Automatic Sector ETF Detector

606
Automatic Sector ETF Detector

This utility script automatically identifies a stock's sector and maps it to its corresponding SPDR Sector ETF (XLK, XLF, XLV, etc.).


  • [] Auto-Detection: Uses syminfo.sector to instantly find the asset's group.
    [] GICS Mapping: Normalizes industry data into the 11 standard investment sectors.


Note: Best suited for US Equities.

免責聲明

這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。