Steversteves

ETFHoldingsLib

Steversteves Updated   
Library "ETFHoldingsLib"

spy_get()
  : pulls SPY ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)

qqq_get()
  : pulls QQQ ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)

arkk_get()
  : pulls ARKK ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)

xle_get()
  : pulls XLE ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)

brk_get()
  : pulls BRK ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)

ita_get()
  : pulls ITA ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)

iwm_get()
  : pulls IWM ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)

xlf_get()
  : pulls XLF ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)

xlv_get()
  : pulls XLV ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)

vnq_get()
  : pulls VNQ ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)

xbi_get()
  : pulls XBI ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)

blcr_get()
  : pulls BLCR ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)

vgt_get()
  : pulls VGT ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)

vwo_get()
  : pulls VWO ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)

vig_get()
  : pulls VIG ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)

vug_get()
  : pulls VUG ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)

vtv_get()
  : pulls VTV ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)

vea_get()
  : pulls VEA ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)
Release Notes:
v2

Added:
dia_get()
  : pulls DIA ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)
Release Notes:
v3

Added:
fngg_get()
  : pulls FNGG ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)

fngu_get()
  : pulls FNGU ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)

bnge_get()
  : pulls BNGE ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)

ixp_get()
  : pulls IXP ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)

fcom_get()
  : pulls FCOM ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)

pnqi_get()
  : pulls PNQI ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)

chps_get()
  : pulls CHPS ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)

soxx_get()
  : pulls SOXX ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)

xlk_get()
  : pulls XLK ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)
Release Notes:
v4

Added:
moon_get()
  : pulls MOON ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)

ufo_get()
  : pulls UFO ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)

vdc_get()
  : pulls VDC ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)

iedi_get()
  : pulls IEDI ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)

virs_get()
  : pulls VIRS ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)

ftxg_get()
  : pulls FTXG ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)

jets_get()
  : pulls JETS ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)
Release Notes:
v5

Added:
iyj_get()
  : pulls IYJ ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)

fxr_get()
  : pulls FXR ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)

iyc_get()
  : pulls IYC ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)

xly_get()
  : pulls XLY ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)

iyk_get()
  : pulls IYK ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)

fdis_get()
  : pulls FDIS ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)

pej_get()
  : pulls PEJ ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)

iyt_get()
  : pulls IYT ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)

ftxr_get()
  : pulls FTXR ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)

xtn_get()
  : pulls XTN ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)

sea_get()
  : pulls SEA ETF data
  Returns: : tickers held (string array), percent ticker holding (float array), sectors (string array), percent secture positioning (float array)

Premium indicators and content have launched! Get access at: www.patreon.com/steversteves
Pine library

In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in a publication is governed by House Rules.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this library?

Copy the following line and paste it in your script.