Investors & landlords

@DianeW777 

One follow up question, does it matter how many transactions occurred before the final transaction on December 16, 2021? What if prior to December 16, I day traded stock XYZ 100 times with 50 of the trades being profitable and 50 trades being losses. Will this final sale on December 16, 2021 have a cost basis that has been adjusted for each trade, which would mean I would be able to realize the losses from the 50 prior losing trades?