fix trade entity spec