buy X, buy X1, buy X2, sell X3, where X2 is bought within 30 days of selling X3.
X-X3 and X1-X3 loss are recognized, and X2-X3 are wash sale and loss are not recognized.
buy X, buy X1, buy X2, sell X3, where X2 is bought within 30 days of selling X3.
X-X3 and X1-X3 loss are recognized, and X2-X3 are wash sale and loss are not recognized.