Implementing stock and portfolio feature.