[server] trade is almost done; need to be tested