How Stocks Affect Your Tax Bill