Consider moving the validation on L966 above the conditional on L955 for Trading.setFees().
