Hypothetically if a property is sold at a loss, for tax purposes, can this loss be offset by gains made by another asset e.g. another property gain or stock gains? I've googled it and think the loss has to be incurred before a gain is made ('in a year'?). I would appreciate any information. Thanks