send code and coordinate after trade