Day 1: I purchased 100 stocks of ABC for 100$. The stock went down and I purchased additional 100 shares for say 80$.
Now, my average is 200 shares for 90$.
Day 2: The stock went up and I sold all 200 shares for say 95$. I made an overall profit of 1000$ on the sale of all 200 shares. My question is would I be incurred a "wash sale" loss on the transaction when I sold all the shares? And I wait for an additional 30(31) days before I start trading on the stock again ?