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が提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。