What is exactly the definition of the  unrealized gains in fava in this 
case? is it documented somewhere?

For instance if I have a following simple  ledger

plugin "beancount.plugins.auto_accounts"

option "operating_currency" "USD"

2024-01-01 price EUR 1.0 USD 

2024-01-02 * "Opening balance "
    Assets:EU:Bank      1000 EUR
    Equity:Opening-Balances

2024-01-03 price EUR 2 USD 

Then I would expect, that on 3 January I have a 1000 USD of unrealized 
gains due to EUR/USD change. But as far as I can see fava does not show 
this.

Am I missing something?

On Saturday, September 7, 2024 at 8:17:40 PM UTC+2 Joshua Cabrera wrote:

If you use fava, you can view unrealized gains using the "at market value" 
view in the balance sheet without any options or plugins in your 
main.beancount file.

Note: if you're wondering why my numbers look odd, I'm still working on 
initializing my ledger.

[image: Screenshot 2024-09-07 111916.png]

On Friday, September 6, 2024 at 10:09:42 AM UTC-5 [email protected] wrote:

- this plugin is gone
- make sure you have recent price declarations
- compute it using beanquery sql or a script


On Fri, Sep 6, 2024, 10:59 Dennis <[email protected]> wrote:

Hello everyone,

I just tracked all my ETF purchases over the last years and wanted to see 
my unrealized gains. 

The documentation suggests to use a plugin:

plugin "beancount.plugins.unrealized" "Unrealized"

source: 
https://beancount.github.io/docs/trading_with_beancount.html#reporting-unrealized-pl

However, that plugin doesn't exist anymore. Is there an alternative?

Note, I'm using Beancount v3 as it was suggested to be used by new users in 
another mail thread here.

Best,
Dennis

-- 
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 on the web visit 
https://groups.google.com/d/msgid/beancount/d73c920e-6219-41f0-ba9f-7f84eec07f93n%40googlegroups.com
 
<https://groups.google.com/d/msgid/beancount/d73c920e-6219-41f0-ba9f-7f84eec07f93n%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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/36db99a7-5b35-480f-987f-0b7e97d79504n%40googlegroups.com.

Reply via email to