def start(): var sPrice, minPrice, numShares while 0<=minPrice and minPrice0: numShares=numShares-1 tick(sPrice)