Dear all
playing with the unrealized.py plugin, with the "convert to 
<base_currency>" UI option in fava, I noticed that my net asset value 
changes depending on activating/deactivating the plugin. Is this intended 
behavior? 

Se the minimal example below.

In this context I have not yet fully understood how the notation with round 
brackets works in fava. is there a documentation on this? In the below 
example, activating the plugin and showing the Balance "at Market Value" 
makes the (8) of UPnL propagate from STOCK to Assets account, which 
otherwise don't happen.

Thanks!
... like Z.Wei from 5 Dec 2017, 17:15:39  I'd like to compute monthly PnL 
but first I need to understand the basics^^
best,
nugget




option "title" "Test ledger"
option "operating_currency" "CHF"

; plugin "beancount.plugins.unrealized" "UPnL" ; <= switch this on & off 
and observe the net asset value in fava

2022-01-01 * "STOCK" "BUY 1 @ 100 USD"
  Assets:STOCK                           1 STOCK {100 USD, 2022-01-01}
  Assets:USD        

1970-01-01 open Assets:USD  USD
1970-01-01 open Assets:STOCK  STOCK
1970-01-01 open Income:STOCK:PnL  USD
1970-01-01 open Equity:Opening-Balance:USD  USD

2022-01-01 price STOCK                               100 USD
2022-03-01 price STOCK                               108 USD

2022-01-01 price USD                               1 CHF


-- 
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/da25a4c8-43a8-4971-85ef-b72b38733347n%40googlegroups.com.

Reply via email to