If you have an overall net capital loss for the year, you can deduct up to $3,000 of that loss against other kinds of income, including your salary and interest income.