Multiple f & o transactions

If I will complete multiple options transactions of same index with same strike and same expiry date, will they be considered seperate transactions or they are average out while calculating final realised p & L.

Same question for futures as well …what will happen in case of futures as well ???

e.g.
Buy =15 sell=20 profit=5
Buy=11 sell=13 profit=2

If they are considered seperate transactions then profit = 7
In case of averaging profit= 3.5

For multiple transactions in same scrip, the price will be averaged, you can read this post for more information.

price will be averaged for multiple transactions in same scrip but your calculation here…

in case of averaging profit is showing 3.5 but if you multiply it with quantity wouldn’t your profit be 7 only? any way you do your profit will be the same.

@FancyyCosmonautt @ShubhS9
Thanks…