Goldman Sachs interview question

Create a stock profile using oop