KARACHI: Pakistan stocks extended gains for a second session to close at an all-time high on Wednesday, on continued foreign investor inflows and positive sentiment about corporate earnings, Reuters news service reported dealers as saying. The benchmark 100-share index of the Pakistan Stock Exchange (PSX) closed up 0.73 per cent, or 287.64 points, at 39,434.97. “Market witnessed a net foreign portfolio inflow of $1.4 million rupees in the last session. Similarly, sentiment was also positive on earnings season,” KASB Securities Ltd head of research Fawad Khan said. Heavyweight stocks such as Habib Bank Ltd gained 3.08 per cent, Lucky Cement Ltd rose 2.69 per cent and United Bank Ltd climbed 1.63 per cent. The rupee ended flat at 104.81/104.85 against the dollar, compared with Tuesday’s close of 104.81/104.85. Overnight rates in the money market rose to 6.10 per cent from Tuesday’s close of 5.90 per cent.