The price of your position is calculated by taking the average of all the buys you make for that contract on a specific day.
For example, if you bought 50 NIFTY 18000 contracts for ₹100 each and then bought another 50 contracts for ₹50 each, your average price would be (50x100 + 50x50) / 100 = ₹75.