implemented the respond to trade method


Signed-off-by: aaronms <platinum.pirate.platypus@gmail.com>