Hi,
what issues did you encounter when installing beancounttools? Should be a simple
pip install tariochbctools
As for the config, probably it's tied to the way you setup your commodities. The way I have mine configured are like this
2019-01-01 commodity EUR price: "CHF:tariochbctools.plugins.prices.exchangeratesapi/EUR"
Regards,
Patrick
--
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/CAGQ70evy9CBkxPQZL5dgV08YwnqiDF9Zr%3Dx%3DkZ%3Dujv5XoGBz6g%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/a2b2242c-55a8-da04-e7bd-5ebe6fa8be3b%40ch.tario.org.
Hi,
my pr just got merged into beanprice. So you can use this
pip install git+https://github.com/beancount/beanprice.git
and then specify the commodity like this
2000-01-01 commodity USD
price: "CHF:ratesapi/USD-CHF"
if you want to use EUR as base (instead of CHF) then it would be
2000-01-01 commodity USD
price: "EUR:ratesapi/USD-EUR"
similar for other base currencies.
It's using https://ratesapi.io/documentation/ for the lookup. Data is coming from
this should give you an idea which currency pairs you can use.
Regards,
Patrick