modeling your stock portfolio performance with python