take profit and close position