Section 897 of the Internal Revenue Code provides that gain or loss of a nonresident alien or foreign corporation from the ...