a simple portfolio manager with Python