Your loss for this year cannot be more than your profits this year. Any excess gets carried over and if you don't have profits in future years, only $3000 per year can be used against other/ordinary income. I'm not a tax expert however.