def __init__(self, params, offset=0):
        agents.Agent.__init__(self, params, offset)
        try:
            self.maxprice = self.args[0]
        except (AttributeError, IndexError):
            raise MissingParameter, 'maxprice'
        try:
            self.maxbuy = self.args[1]
        except __HOLE__:
            raise MissingParameter, 'maxbuy'
        del self.args
        self.mem = 5
        # Prices of previous self.mem successfull bids
        self.successes = list()
        # All bids
        self.bids = list()
dataset/ETHPy150Open jcbagneris/fms/fms/contrib/coleman/agents/smartmem5trader.py/SmartMem5Trader.__init__