encpsulate stock and option data  each to separate class