Refactored Pair object and added minimum balance in breakout strategy