-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add better currency support in checking/saving accounts #2
Comments
we get the following, so we can make something similar to the place id look up from real estates i guess
|
Might off-subject but do you if finary handle internaly exchange rate? |
Last time I checked, in 2022, it was messy. They did have an internal exchange rate at the time of insertion but you couldn't add one yourself. Meaning if I have euros, and I buy today Google shares in USD, and enter them in FInary in two months, there was no way to do it well. |
Ok because it looks (not sure it was already the case in 2022) there is one currency for the transaction itself and one for the display. I was hoping their where showing the converted amount on the fly instead of calculating it at the time of insertion. |
I did raise the question, let's see :): https://community.finary.com/t/gestion-des-taux-de-changes-sur-finary-a-laffichage/9971 |
Currently, when we create an account we use the following:
https://github.com/lasconic/finary/blob/0097c080a6da0f181594a05cc3407e298d0c93c9/finary_api/holdings_accounts.py#L30
It works (even with "USD" for example) but the Web UI currently uses:
where id is the id of the currency as returned by the currency API.
We need to provide a way to search a currency by code, get the ID and use it. The command line should get an argument with a code (and we do the lookup) or an id (and we check if it's a numeric value ?).
The text was updated successfully, but these errors were encountered: