tax-loss harvesting is particularly valuable when combined with charitable giving.. the usual harvesting dynamic is that you are trading a deduction now for a larger gain-liability later, but in the case of charitable giving of appreciated stock there is no liability down the road but you get to keep the deduction-now.