Cap Gains for part year CA resident
I moved from TX to CA in July 2021. I have held several stocks for multiple years while living in TX. In September and December 2021, I sold the stocks resulting in gains and losses with a net overall gain. TurboTax program can allocate each stock transaction net gain or loss by either method: (1) date of sale, or (2) ratio of days I became a CA resident. Which method is correct for my situation?