Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print function only outputs first holding #292

Open
Batwam opened this issue Feb 1, 2025 · 0 comments
Open

Print function only outputs first holding #292

Batwam opened this issue Feb 1, 2025 · 0 comments

Comments

@Batwam
Copy link

Batwam commented Feb 1, 2025

Hello,I am testing the print function and noticed that it only appears to output results for the first holding/group. I can see from the example from the instructions that there is no json field for the group/holding name.

$ ticker --config=./.ticker.yaml print
[{"name":"Airbnb, Inc.","symbol":"ABNB","price":164.71,"value":16965.13,"cost":15038,"quantity":103,"weight":53.66651978212161},{"name":"Tesla, Inc.","symbol":"TSLA","price":732.35,"value":14647,"cost":15660,"quantity":20,"weight":46.33348021787839}]

What is the expected behaviour when there are multiple holdings defined? Is it possible to have them separated by holdings? Short of creating separate yaml files, is there a hidden option which allows to display a holding which isn't the first one?

I'm pretty confident my yaml file is correct as the holdings are recognised in the tui and I can switch from one to the other.

Also, how can I get access to the new output added in this pull request? 1f83050
I have installed v4.8.0 but the output is still the same. It the syntax still ticket config=config.yaml print or is there a new option needed to see this information? (I tried "summary" but that did nothing)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant