How to legally pay less or no capital gains tax on stocks
Been investing for about three years now and sitting on some gains I want to take this year. I know there are legal ways to reduce or eliminate capital gains tax on stocks but I can't figure out which ones actually apply to me. I've read about holding periods, income thresholds, something called tax-loss harvesting, and accounts like Roth IRAs but every article just scratches the surface. I already tried reading Topic 409 on the IRS site but it doesn't tell me which strategies to use, just how gains are classified. My situation: I have a mix of short-term and long-term positions, some losers I haven't sold yet, and I'm in the middle of my career so not low income but not top bracket either. What are the actual levers I can pull to legally pay less or no capital gains tax on stocks this year?