I bought stocks in the State of Washington in 2019 and 2020. I moved to California in 2023 and have lived in both places. Last year (02/2024), I sold stocks (bought in WA) with a gain.
WA has no state income tax. You live in CA. You pay federal and CA state tax.
**Disclaimer: Every effort has been made to offer the most correct information possible. The poster disclaims any legal responsibility for the accuracy of the information that is contained in this post.**