added trade logic
added check for trade not being accepted yet