Get your taxes done using TurboTax

@tbudd I am going out on a limb as I really do not know the answer.

 

However, if you are confident that the gain is not reportable as a non-resident alien. the IRS is unlikely to give you a benefit of the loss into the future when you are a resident alien.

 

as a NRA, if you are not required to pay tax on the gain, I wouldn't beleive that a loss will get you a benefit. 

 

You can't have your cake and eat it too.