Capital gains can come into your income tax return from other sources than your own trading activity. Two common sources are LTCG distributions reported on 1099-DIV and capital gains reported on Schedules K-1. Go look at your Schedule D. That's where all the information that shows up on line 13 of the Form 1040 is captured.
Tom Young