ETF

ETF Holdings

The etfHoldings data type returns up-to-date breakdown of ETF holdings.

=SF(ETF, "etfHoldings", metric, "", options)
  • ETF is the ticker symbol of the ETF (e.g., "SPY"). You can use our Symbol Search to find the correct ticker symbol.

  • metric selects what metrics to display (see options below), display all metrics by leaving blank or using "all". Chain together as many metrics as you'd like using &, e.g., "asset&weightPercentage".

  • options adjusts the formatting of the output. There are three options available, NH for no header rows, - to reverse the order to ascending, ob=<metric> to order by a certain metric and limit=X to limit the number of rows returned to X rows. You can chain together as many options as you'd like using &, e.g., "ob=weightPercentage&limit=5&-".

The ETF Holdings metric options are:

  • All ("all")

  • Asset ("asset")

  • Name ("name")

  • ISIN ("isin")

  • CUSIP ("cusip")

  • Shares Number ("sharesNumber")

  • Weight (%) ("weightPercentage")

  • Market Value ("marketValue")

  • Updated ("updated")

Tips:

  • ETF Holdings data does not have global coverage, only selected major markets are included.

  • You can screen stock ticker codes and check if the stock is an ETF by using the "isEtf" sub type of the Company Info function.

Examples

Example 1 - All Holdings

=SF("SPY","etfHoldings")
ETF Holdings Example 1

Example 2 - Display several selected metrics

=SF("SPY","etfHoldings","asset&weightPercentage&marketValue")
ETF Holdings Example 2

Example 3 - Display all metrics with options selected (no header and reversed)

=SF("SPY","etfHoldings","all","","-&NH")
ETF Holdings Example 1

Was this helpful?