Hi,
Just in case this might be of interest to other people, I've created a script called
bean-acb that helps with tracking the Adjusted Cost Base (ACB) for a property. This rule is used in Canada to compute the capital gain that must be declared when disposing of a property.
This is a bit painful to track, especially if you trade in another currency than canadian dollar, so the script takes care of converting to CAD if necessary (and yell at you if you haven't provided the exchange rate on which a transaction of interest occurred).
I should add the usual disclaimer that you must not use that script for your taxes, it hasn't been tested extensively and might contain errors, but at least it can give you an idea of the capital gains to declare.
Cheers,
Damien