I think you mean you were up $8,000 on your investment but failed to close the transaction in time to realize your gains. If so, you can't deduct a loss since it was not realized. You can only deduct the amount of money you invested if you lost that permanently.