A portfolio management system