--- title: holdings description: This page provides information about the command that returns the holdings for an ETF sorted by percent of ETF. This command can be particularly useful for anyone interested in ETF and programming with Python. keywords: - ETF - ETF Holdings - ETF Ticker - Holdings - Programming - Command --- import HeadTitle from '@site/src/components/General/HeadTitle.tsx'; This command returns the holdings for an ETF sorted by percent of ETF. ### Usage ```python wordwrap /etf holdings [etf] ``` --- ## Parameters | Name | Description | Optional | Choices | | ---- | ----------- | -------- | ------- | | etf | ETF ticker (only for `holdings`) | True | None | --- ## Examples ``` /etf holdings SPY ``` ---