buy and sell, if holding is profitable, then sell