add cancel trade function