The closing price in this case is the price of the stock on the date when the stock was transferred to Upstox. This price can be used as a reference while inputting the average price.