JStock is a multiplatform open source program that enables you to make a stocks database. You can download these and deliver charts and data. This is done in real time and you can do it in more than 20 stock markets in the world. The software also helps you configure stock portfolios. Using this feature you can easily calculate your loss and profits.