Does a wash sale apply if you offset the loss with a profit within the wash sale period.
If you make a wash sale and then a profit within the wash sale period, does the wash still apply?
Scenario: You buy 10 shares XYZ at $10/share on day 1 for $100. On day 5, you sell all for $5/share ($50 loss). On Day 10, you rebuy 10 shares of XYZ at $6/share (the loss is now a wash sale). On Day 20, you sell all for $20/share ($200 cash).
Clearly if the second sale took place on Day 32 or after, the cost basis for the sale would be $110 ($60 + the $50 loss). Is this still true for the sale as stated (on Day 20, which is well within the wash sale period)?