John, Some time ago, I expressed an interest in trying to do IRR calculations on portfolios. My plan was to get ledger to produce some kind of report of transactions, and then pass that as input to a script. The script is relatively easy to do, but having played a little with the new version of ledger, I haven't yet found a good way of producing a convenient report.
Here's the sort of report I'm after. Suppose I buy AAPL for $3000 at the beginning of the year. Maybe I sell half the shares for $1500 on 1 Feb 2009, and as at today the remaining shares are worth $2000. So the report I would like to have would be something along the lines of: 2009-01-01 $3000.00 2009-02-01 -$1500.00 2009-03-26 -$2000.00 Bonus points for it being in CSV format. Regards, Mark.
