Can ETF losses offset crypto gains on a US non-resident tax return?
Filing a 1040-NR this year, visa is F-1 so I'm definitely non-resident for tax purposes. I sold shares in a US-listed ETF at a loss in March and also sold some bitcoin at a gain in October. Both transactions happened through a US brokerage account. My broker sent a 1099-B for the ETF and a separate 1099-DA for the crypto. When I tried entering both on Form 8949, my tax software flagged the crypto gain as "not subject to US tax for non-residents" and basically zeroed it out. Now I'm confused whether the ETF loss can even offset the crypto gain if the gain isn't taxable in the first place. Can ETF losses offset crypto gains on a US non-resident tax return, or does the netting only work when both items are actually taxable?