Skip to content

Add a command to print portfolio values to stdout for unix style piping #49

@xomtux

Description

@xomtux

Background
Currently ticker only provides the data in a graphical user interface. To track portfolios over time or use the collected data in other ways the quotes and summaries should be printed to the stdout in a predefined format like json.

Request
In order to pipe asset and portfolio values into other tools in a CLI context, there should a command to print those values in different formats to the stdout.

Technical Details

  • there should be a specific (sub)command to trigger printing to stdout
  • flags for this command define which data to export and in what format
  • executed with this command, ticker doesn't show the graphical interface, it only prints the collected quotes and summaries

Additional context

An example how this could look like is the "holdings" command in cointop which enables users output only the total value of a portfolio or get the current values in different format like json or csv.

screenshot-cointop

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions