ticker icon indicating copy to clipboard operation
ticker copied to clipboard

ticker print - only does "default" group

Open reefland opened this issue 4 years ago • 3 comments

Describe the bug Running ticker print only outputs items defined in the lots: section. It does not show anything from my groups: and holdings:

Expected behavior Expect the output of ticker print to include all holdings defined in the yaml file.

reefland avatar Mar 09 '22 19:03 reefland

Nice suggestion.

Maybe a flag could be added for --group with a default as default

ticker print --help

Prints holdings

Usage:
  ticker print [flags]

Flags:
      --config string   config file (default is $HOME/.ticker.yaml)
      --format string   output format for printing holdings. Set "csv" to print as a CSV or "json" for JSON. Defaults to JSON.
  -h, --help            help for print

shaunmolloy avatar Apr 05 '22 15:04 shaunmolloy

+1 I use ticker print --format csv in a daily cronjob and would very much like to have my watchlist included in the report.

xrat avatar Oct 10 '23 14:10 xrat