This script is awesome—super helpful. I was wondering if it would be possible to add an additional optional argument to only display the ticker symbols (organized in order of weight) in CSV's.
Optional argument:
--tickers-only TICKERS_ONLY
Example:
python etf4u QQQ --tickers-only --out-file QQQ.csv
Example output in QQQ.csv:
MSFT,
AMZN,
TSLA,
GOOG,
GOOGL,
FB,
NVDA,
PYPL,
ADBE,
NFLX,
CMCSA,
CSCO,
INTC,
PEP
...