'Runs either a backtest or live session, and outputs performance when complete.'

def start_trading(self, testing=False):

    self._run_session()
    results = self.statistics.get_results()
    print('---------------------------------')
    print('Backtest    complete.')
    print(('Sharpe    Ratio:    %0.2f' % results['sharpe']))
    print(('Max    Drawdown:    %0.2f%%' % (results['max_drawdown_pct'] * 100.0)))
    if (not testing):
        self.statistics.plot_results()
    return results
