Alter algo to stay on profitable exchange and stop switching if positive profit can be recognized.