How to determine whether the contract fee is positive or negative