When a trade is carried forward to the next trading day, our system recalculates the average price. This is based on transactions made on the previous trading day for the relevant contract.

Example Calculation:

Suppose you initially buy 200 units of Nifty 25000PE at a trade price of ₹175. Later, you purchase an additional 200 units of the same contract at a trade price of ₹160. 

The total quantity, average price, and total amount after these transactions are as follows:

Action  

Quantity

Price

Total Amount(₹)

Buy  

200

175

35,000

Buy

200

160

32,000

Total Buy Average

400

167.5

67,000


Now, if you sell 100 units of Nifty 25000PE at a trade price of ₹253, the total sell amount is:

Sell Total = 100 * ₹253 = ₹25,300
Trade date calculation:

Action  

Quantity

Price

Total Amount(₹)

Buy  

200

175

35,000

Buy

200

160

32,000

Sell

100

253

25,300

Net Average price

300

139

41,700


(Sum of buy amt - sum of sell amt) / (sum of buy qty - sum of sell qty) = average price
Trade date + 1 calculation:
When you carry forward the remaining units to the next day, the system recalculates the average price for those units using the FIFO (First-In-First-Out) method.
A snapshot of the calculation is mentioned below:

Action  

Quantity

Price

Total Amount(₹)

Remaining qty (FIFO)

100

175

17,500

Buy (previous day)

200

160

32,000

Total Buy Average

300

165 (new avg price)

49,500