If a contract expired, and it had a cost basis, the proceeds would be zero and it would be a loss.
Was this a call or a put? Did you short sell it?