-
-
Notifications
You must be signed in to change notification settings - Fork 321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ROI] provide not annualized TWR #2068
Comments
hledger/hledger/Hledger/Cli/Commands/Roi.hs Line 132 in f7dbfcf
initialUnits and initialUnitPrice here:
hledger/hledger/Hledger/Cli/Commands/Roi.hs Line 156 in f7dbfcf
hledger/hledger/Hledger/Cli/Commands/Roi.hs Line 227 in f7dbfcf
totalTWR along with annualizedTWR there should be, I think, the unadjusted TWR for the period.
It wold be nice to have some examples with TWR computed by not-hledger (say, by excel) to verify this, though. @chrpinedo do you happen to have some numbers that could be useful as tests? |
@adept just now I don't have a third party software to calculate TWR/IRR. I was just evaluating if hledger roi command was enough for me to track the performance of the investments or if I should export cashflows from hledger to create one spreadsheet (I don't know if it is easy to export cashflows in CSV format with hledger roi command or perhaps with hledger commands). |
Nowadays the hledger roi command provides the annualized TWR and the annualized IRR. I think that IRR must be always annualized but TWR value firstly is calculated over one period and then this value can be annualized (and in fact the hledger roi command provides it always annualized).
Annualized value of TWR and the IRR is good to calculate the performance of one investment over long periods of time however:
To track the evolution of the investment over one period (-b begin-date and -e end-date) I often use the hledger roi command with subperiods -Y (yearly), -M (monthly) and even in rare occasions -W (weekly). However, hledger roi command provides the annualized value of TWR and IRR for the subperiods. It would be very useful to provide also the "simple TWR" or "TWR of the subperiod" and the "accumulative TWR" of the period with the previous periods.
The text was updated successfully, but these errors were encountered: