def __call__(self):
        needsupdate = False
        updater = self.environment.updater
        if not updater:
            self.log.debug('no updater configured, using TimestampUpdater')
            updater = TimestampUpdater()
        for bundle in self.environment:
            self.log.info('Checking asset: %s', bundle.output)
            if updater.needs_rebuild(bundle, self.environment):
                self.log.info('  needs update')
                needsupdate = True
        if needsupdate:
            sys.exit(-1)
Get a list of open trades
dataset/ETHPy150Open miracle2k/webassets/src/webassets/script.py/CheckCommand.__call__--crossover with--dataset/ETHPy150Open toloco/pyoanda/pyoanda/client.py/Client.get_trades