Note: Assets, accounts, amounts and dates have been changed for privacy.
Let's say I receive some tulips for free. However, the tulip market is
doing pretty well, so I then sell those tulips at their market price.
The way I have been recording this in my Beancount file is:
2019-01-01 * "Receive free tulips"
Income:Gifts
Assets:Investments:Tulips 12 TLP {0 USD}
2019-01-02 * "Convert TLP to USD"
Assets:Investments:Tulips -12 TLP {0 USD} @@ 5 USD
Assets:Investments:Cash 5 USD
The second transaction yields an error saying that it does not balance.
The reason I have been recording transactions this way is so that Fava
always displays TLP in terms of USD. If I leave out the {0 USD} cost basis,
then FAVA will not display my TLP holdings in terms of USD.
What is the correct way of handling this situation? Or do I just have to
suck up the fact that without a USD cost basis, my TLP won't be shown in
terms of USD on Fava?
--
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/6871c389-e1fc-4905-bb59-a7dbc6c0452c%40googlegroups.com.