On 04/09/25 19:32, 'Alen Šiljak' via Beancount wrote:
The remarks are spot on and I have addressed some, like currency exchange. However, I'm running into an issue where Beanquery does not chain conversions (somehow I thought this was the default) and direct prices/exchange rates are required between currency pairs. Perhaps I'm just not aware of other ways of converting to any currency that can be chained from existing prices.
This is by design. There are a couple of reasons why conversions are not implemented between commodities for which an explicit price directive exists are not performed:
- in most cases, the product of the A:B and B:C rates is just an approximation of the real world A:C exchange rate;
- there may be more than one indirect way to compute an indirect exchange rate, and they almost certainly result in different rates. Namely, it may be possible to compute the A:C ratio via either the A:B * B:C or A:D * D:C. Beancount would have to guess which one to use.
IIRC, there is a plugin somewhere that can synthesize prices by combining existing price entries. This would allow you to achieve what you want.
Cheers, Dan -- 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 [email protected]. To view this discussion visit https://groups.google.com/d/msgid/beancount/b1604176-16a9-4212-bd10-2ab6e15b8758%40grinta.net.
