Skip to content

Ability to remove display of weights from CSV output #3

@dannykeane

Description

@dannykeane

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
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions