above is a position data, as you can see, realised profit is zero while, there are some buy and sell happened, so it should not be zero, from documentation realised is , float64 and which gives Realised intraday returns
Yes, that result is already given in the field pnl, m2m and unrealised, but current pnl have two component, one is of previous buy sell orders which already happened, and current position profit which is unrealised,
pnl = (sellValue - buyValue) + (netQuantity * lastPrice * multiplier);