Quote from fishtrader:
Cool..! Got it...!!!
I don't think it is that simple. I think it depends on the chronological order of the trades. You should play around with that free wash sale calculator to see what I am talking about. I.e., even if your last trade for the year is a profitable one, that doesn't mean you will be able to take all the losses if there are wash sales in the past.