def load(self, broker):
        print "[+] Loading details for {}".format(self.__str__())
        ret = broker.get_instrument_detail(self.__str__())
        if ret and ret in 'instruments':
            for meh in ret['instruments']:
                self.pip = meh['pip']
                self.max_trade_units = meh['maxTradeUnits']
                return True
        return False
dataset/ETHPy150Open jmelett/pyFxTrader/trader/instruments.py/Instrument.load/swapped operands of `in`