yes your right but if you made 500 thousand in the new few months and lost 200 thousand you only pay taxes on the 300 total. loss offsets the win,