Fava is a completely different question and AFAIK it should respect Beancount's notion of "operating currency", which is configurable.
For Beanprice, the sources may return their quote currency, here: https://github.com/beancount/beanprice/blob/master/beanprice/source.py#L31 On Sun, Apr 11, 2021 at 1:38 PM Thomas den Hollander < denhollander.tho...@gmail.com> wrote: > One more question. Many price sources are only available in USD while my > main currency is EUR. How do I deal with that? Is Fava able to display the > total worth by converting via USD to EUR? Should I convert these price > statements myself, and if so, would it be useful to have such functionality > in bean-price? > > Op zondag 11 april 2021 om 17:39:18 UTC+2 schreef Thomas den Hollander: > >> Thanks! My price source is pretty specific, but I'll probably publish it >> at some point. >> >> Op zondag 11 april 2021 om 15:34:51 UTC+2 schreef bl...@furius.ca: >> >>> You can reference them by the name of their Python module if they're >>> outside the library. >>> You can use the short name if they're in the library, here: >>> https://github.com/beancount/beanprice/tree/master/beanprice/sources >>> >>> New ones are welcome. Minimal requirement for inclusion in the library >>> is a unit test covering basic usage and mocked, that is, not connecting to >>> the network. >>> >>> >>> >>> On Sun, Apr 11, 2021 at 5:51 AM Thomas den Hollander < >>> denhollan...@gmail.com> wrote: >>> >>>> >>>> Hello everyone, >>>> >>>> I wanted to write custom sources for bean-price, but I'm unsure what >>>> the best way to do this is. I'm not very experienced with Python or its >>>> module system. Say I have a folder with my own sources, how do I reference >>>> these while fetching the price? Should I add the path to my PYTHONPATH? Or >>>> maybe install it as a module? >>>> >>>> - Thomas >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Beancount" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to beancount+...@googlegroups.com. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/beancount/7604ca29-5482-41c2-8757-2fe11e5a3610n%40googlegroups.com >>>> <https://groups.google.com/d/msgid/beancount/7604ca29-5482-41c2-8757-2fe11e5a3610n%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- > You received this message because you are subscribed to the Google Groups > "Beancount" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to beancount+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beancount/60ef01f5-b2fd-40f5-9274-68e088fcac3en%40googlegroups.com > <https://groups.google.com/d/msgid/beancount/60ef01f5-b2fd-40f5-9274-68e088fcac3en%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Beancount" group. To unsubscribe from this group and stop receiving emails from it, send an email to beancount+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAK21%2BhPXwEaJ1Yf0jV4TPsjSwNUxLSQTkMO%3DFHk0DmmoMVcitA%40mail.gmail.com.