I wrote some very basic methods such as update and display stock prices used by XTrade.
This is Stock class. Very basic structure and methods.
Main method for testing.