Here is a simple way to create an automated, simple and real-time stock portfolio tracker on the cloud, using Google Spreadsheet.
Have a look at this spreadsheet. It has two worksheets - Summary sheet gives an overview of the portfolio and Data sheet is used to obtain real time data.