<prompt> Human: For example I purchased 3500 shares at 2.91 a share. Then another 1400 shares at 3.50 of the same stock. Now on my portfolio it says I have 4900 shares at 3.50. Is this normal?. Should it not average my share cost between the two transactions? Example. 3500×2.911400×3.50÷4900Which should be valued at 3.08 a share.And why doesnt it use the 3.08 a share to calculate my gains and losses instead of 4900 shares at 3.50.  <response>: Theres the cost basis. And the current value. Your equation is cost basis. The other is its current value. 