Deductions & credits

Yes, there is such an option. You can offset your ordinary income with your net capital losses up to $3,000 in a given year; net losses in excess of $3,000 can be carried forward indefinitely until the amount is exhausted.