I see the figure 1 when I open 
http://localhost:5000/beancount/balance_sheet/?conversion=CNY&time=2017.
[image: Capture] 
<https://user-images.githubusercontent.com/2220369/65390487-1479c880-dd92-11e9-8067-18c99fe136a8.PNG>

Where can I find docs about Equity:Conversion:Previous? I expect it to be 
'conversion happened previously'. I guess the Equity:Opening-Balances is 
implemented as 'conversion happened previously'.

Thanks for any help. Attached is the bean file if it's helpful.

option "operating_currency" "CNY"
plugin "beancount.plugins.implicit_prices"


2015-01-01 open Assets:Stock
2015-01-01 open Assets:Cash
2015-01-01 open Income:Salary


2015-04-01 * "income"
  Assets:Cash +10000.00 CNY
  Income:Salary -12000.00 HKD @@ 10000.00 CNY
  Assets:Cash +2000.00 HKD
  Income:Salary -2000.00 HKD

2016-04-01 * "income"
  Assets:Cash +11000.00 CNY
  Income:Salary -12000.00 HKD @@ 11000.00 CNY
  Assets:Cash +2000.00 HKD
  Income:Salary -2000.00 HKD

2017-04-01 * "income"
  Assets:Cash +12000.00 CNY
  Income:Salary -12000.00 HKD @@ 12000.00 CNY
  Assets:Cash +2000.00 HKD
  Income:Salary -2000.00 HKD
  

2015-05-01 * "buy"
  Assets:Cash
  Assets:Stock +100.00 PINGAN {50.00 CNY}
  
2016-05-01 * "buy"
  Assets:Cash
  Assets:Stock +100.00 PINGAN {60.00 CNY}
  
2017-05-01 * "buy"
  Assets:Cash
  Assets:Stock +100.00 PINGAN {70.00 CNY}
  
  
2018-05-01 price PINGAN              100 CNY

2018-05-01 price HKD              1.2 CNY

-- 
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/6fc1d5e1-6b74-4da1-8d56-7bab72b71afa%40googlegroups.com.

Reply via email to