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

GBP vs GBp #282

Open
Pathfinder075 opened this issue Dec 5, 2024 · 0 comments
Open

GBP vs GBp #282

Pathfinder075 opened this issue Dec 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Pathfinder075
Copy link

Ticker treats GBP and GBp the same, so total value and cost, end up being somewhat higher than they should be.

To Reproduce
Create a .ticker.yaml, place two stocks in, example VUAG.L and JEGP.L
Add in the Avg Cost for each one and the amount
JEGP.L will display thousands because the stock is in pence and VUAG.L will display as 100's because the stock is in pounds. This screws up the total value and cost entries as it sees JEGP.L as having a value measured in 1000's.
In the UK our stocks can be displayed on Yahoo Finance in two ways. GBP represents stocks measured in pounds, for example £100.10 (one hundred pounds and ten pence) or GBp which represents stocks measured in pence, for example 5000.50p (50 pounds and half a penny).

Expected behavior
Ticker would differentiate between a GBP and GBp stock. The measurement used is displayed at the top of the page in Yahoo Finance, but I don't know exactly how Ticker gets that information

Screenshots
ticker-example
GBp
GBP

Environment (please complete the following information):

  • OS: Linux / Devuan Chimaera

  • Terminal: rxvt-unicode

  • Terminal Version: v9.22

  • Font: No idea, whatever is default

  • ticker Version: 4.6.3

Additional context
Add any other context about the problem here.

@Pathfinder075 Pathfinder075 added the bug Something isn't working label Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant