FIFO in NRML & MIS

Here’s a situation:
I bought Stock X Future @ 899 on July 3 in NRML mode. (lets call this position A)
I entered another futures position in same stock - this time MIS - @ 931.8 on July 4. This MIS position got squared off same day. (Lets call this position B)

Now my position book shows cost of position A (the one in NRML) as 931.8 which is the cost of my MIS position.

Is Zerodha doing FIFO across MIS & NRML? Shouldn’t these be treated as 2 different positions even if they are the same scrip and same contract?

@alphavictor
MIS and NRML are only product types provided by Zerodha for you to avail intraday leverage. However, the exchange does not differentiate product types. Now in the above example, both your NRML and MIS trades are two simple buy trades in the exchange. If you square off 1 position, the position taken first will be squared off as per FIFO.