ui
ui copied to clipboard
Unrealized PnL wrong or confusing.
Smashball is the reported outcome of this market but I have negative unrealized PnL for the position in my portfolio.
Not sure if this is calculating total PnL of the entire market. I did have positions that were sold for a loss or held to 0 in the same market. If this is calculating the total PnL of the market, then it's confusing and counter intuitive. If not, this is a bug.
Maybe because price is incorrect
Issue seems to be caused by incorrect price shown. The curent formula for calculating unrealized PnL is: currentMarketPrice - avgCost) * totalQuantity