-
Notifications
You must be signed in to change notification settings - Fork 292
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
Commodities only forward pairs are shown #139
Comments
As a solution, I have a meta-tag |
If we add something to distinguish between currencies and other commodities, it would be nice if it worked automatically without having to add any metadata. I don't put any How about using the following heuristic: If the commodity name has three letters or less (as all the ISO 4217 currency codes do), treat it like a curreny. |
It's not ideal, since there certainly are three or less letter stocks, but it would work for me. Some other ideas:
|
This calls for a default of "disabled" and a configuration option to enable it, because it would confuse users if they do not know about this convention. So my vote is for "configuration over convention" ;-) |
I guess the heuristic I suggested is actually not a good idea. If possible, I would refrain from adding another option and the following seems to be the best suggestion:
|
@yagebu Is the formatting of the numbers in the following screenshot accidental? (CHF/EUR is the calculated one) |
@aumayr: turns out that |
I only have currencies as commodities, and found that the inverse rates weren't shown under commodities due to:
https://github.com/aumayr/fava/blob/master/fava/api/__init__.py#L478
While this would make sense for stocks, for currencies you usually want to see the inverse as well.
The text was updated successfully, but these errors were encountered: