Average currency rate

Hello All, I bought 20 lots of USDINR @ 69.2100 on 01/07/19 & sold on the same day @ 69.00 (LOSS). On the same day I again bought 20 lots of USDINR @ 68.9900 , when the market closed I got my contact note stating that I have bought the 20 lots @ 69.0800 (actual price was 68.99). I called my broker to check the same asking why the purchase price is average when there was no open position to average that new trade with, they said that if u buy & sell multiple trades then it will average by EOD, can u guys confirm on the same.