Deductions & credits

for 2021 you have $40K of interest income which can be offset by a maximum of $3K in capital losses.

you get to carryforward the unused amount of capital losses to future years to offset capital gains but a net capital loss deduction is currently limited to $3k/year