Calculate the stock quantity based on initial investment. (Averaging Down)