def run_until_stopped(self):
        self.run()
        while self.is_running():
            try:
                sleep(1024)
            except __HOLE__:
                if self.is_running():
                    self.stop()
                    break
        else:
            click.secho('The clock stopped ticking', fg='yellow')
dataset/ETHPy150Open jmelett/pyFxTrader/trader/controller.py/ThreadedControllerMixin.run_until_stopped