you should close t.p at last price instead of market price