taking profit from both long and short