[Feature] Use implicit prices
Closed this issue · 2 comments
putzwasser commented
Fava currently doesn't use the price information provided in postings:
plugin "beancount.plugins.implicit_prices"
2000-01-01 * "" "Buy new Asset"
Assets:Investments:MyNewAsset 1 NEWASSET {1000 USD} @ 1000 USD
Assets:Cash
Will lead to fava exiting, as there is no explicit price directive.
You need to explicitly add a price directive for NEWASSET
:
plugin "beancount.plugins.implicit_prices"
2000-01-01 * "" "Buy new Asset"
Assets:Investments:MyNewAsset 1 NEWASSET {1000 USD} @ 1000 USD
Assets:Cash
2000-01-01 price NEWASSET 1000 USD
I update some assets more or less only via the „implicit“ price directive syntax that beancount provides. It would be nice, if fava_investor would make use of the data.
redstreet commented
I'm unable to reproduce this. Implicit prices works fine, and I use it all the time. Could you please post a complete, minimal example?
redstreet commented
Closing this as: unable to reproduce. Feel free to reopen with a test case.