Yes, if you meet the filing requirement. IRS only sees the proceeds on your 1099-B, not the profit or loss. If your proceeds and any other income are more than the filing requirement, you must file. In addition, if you have losses, the only way to carry them forward to future years is to claim them on your 2018 return.
2018 Filing Requirements
Single
- Under 65 $12,000
- 65 or older $13,600
Married filing jointly
- Under 65 (both spouses) $24,000
- 65 or older (one spouse) $25,300
- 65 or older (both spouses) $26,600
Married filing separately
Head of household
- Under 65 $18,000
- 65 or older $19,600
Qualifying widow(er) with
dependent child
- Under 65 $24,000
- 65 or older $25,300