def setShares(self,shares):
        self.params['shares'] = shares
        self.params['capital'] = self.params['last']*self.params['shares']
set target shares, adjust capital
dataset/ETHPy150Open cmorgan/trading-with-python/lib/classes.py/Spread.setShares