if yes, is there any rules how they are done? Or, just simply capital gain subtract the loss?
Thanks!
TurboTax automatically does this for you. This is calculated on Schedule 3.