I may be wrong on this, but it was my understanding that unless you have elected the mark-to-market accounting principle, then you would in fact be liable for capital gains of $50,000.
Even if you lost $30,000. Maybe I'm wrong on this, but I think I was reading something about traders who...