Hey quants,

I'm a bit confused about how unrealized profits are calculated in the live section.

I would assume unrealized would be very close to

 (actualPriceOfSecurity * quantity) - (purchasePriceOfSecurity * quantity)

Would that be close to a good guess?

If so, I'm confused by the following screenshot, I've highlighted one line for simplicity.

Average price is 92.62 * 3219 =  298,143.78

The market value is 400k+ and even if the price has risen a bit since purchase the unrealized is -400K? What am I doing wrong?

Also, unrealized profits are already calculated in equity: would that be a true statement?

179655_1643608106.jpg