I'm reading the IRS website and it says:
https://www.irs.gov/taxtopics/tc409
> When you sell a capital asset, the difference between the adjusted basis in the asset and the amount you realized from the sale is a capital gain or a capital loss.
Am I misinterpreting this?