On Mar 31, 2023, at 13:34, Nea Zăpadă <prinz...@gmail.com> wrote:
--
You received this message because you are subscribed to the Google Groups "hledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hledger+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hledger/b77091f2-5937-4501-8311-fd539c3db8e0n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hledger/2699bfb6-60eb-46ef-977c-a13d20b555b9n%40googlegroups.com.
Hey,
The tax incentive is added to my cash account. I claim that back
at the end of the year and it does not touch any of my investment
accounts. I can then also use it immediately for another
investment for example. Also, just to explain my motivation for
calculating things this way, I'd like to be able to compare the
ROI of a tax-advantaged investment with one that isn't tax
advantaged.
Interestingly, the following actually gives me what I want in terms of Cashflow and Value (end), although it doesn't fully make sense to me because, like I said, the tax rebate doesn't touch the investment account in reality:
$ cat pebbles.journal
2023/01/01 invest
Assets:Cash
Assets:Pebbles USD 1000
2023/05/01 tax rebate
Assets:Pebbles
Income:Tax Rebate USD -200
Assets:Cash USD 200
2023/07/01 investment income
Assets:Pebbles USD 100
Income:Pebbles
$ hledger -f pebbles.journal roi --inv Assets:Pebbles --pnl
Income
+---++------------+------------++---------------+----------+-------------+---------++--------+--------+
| || Begin | End || Value (begin) | Cashflow | Value
(end) | PnL || IRR | TWR |
+===++============+============++===============+==========+=============+=========++========+========+
| 1 || 2023-01-01 | 2023-07-01 || 0 | USD 800 |
USD 1100 | USD 300 || 74.46% | 74.51% |
+---++------------+------------++---------------+----------+-------------+---------++--------+--------+
You received this message because you are subscribed to a topic in the Google Groups "hledger" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/hledger/jSQToLwVc98/unsubscribe.
To unsubscribe from this group and all its topics, send an email to hledger+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hledger/CAFQUnFhbY9W%3DnGgSQL8GF-Kvfq0PxYJPyEPXRQiNX9HnH30CEg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hledger/8d428197-1737-060f-3d19-b9ec5190ebe5%40gmail.com.