Function createTrade