The Pakistani finance minister's bullish comments declaring the end of an economic crisis have bolstered confidence ahead of crunch talks with the International Monetary Fund on Wednesday, but the country is still likely to need a bailout.
Finance Minister Asad Umar said on Tuesday that "Pakistan's immediate balance of payment crisis is over" without mentioning the talks with the IMF in Islamabad.
Mr Umar's comments came after Prime Minister Imran Khan visited main allies Saudi Arabia and China last month.
Mr Khan secured $6 billion (Dh22.04bn) in assistance from Riyadh while Beijing promised help cover a projected $12bn shortfall in foreign exchange to service Pakistan's debt.
The country's central bank chief is due to travel to China on Friday to discuss details of what Mr Umar described as a pledge of "immediate money".
Analysts say the cash will give the economy breathing space and stabilise the rupee, which has fallen 25 per cent against the US dollar since December, but it will not solve Pakistan's balance of payments crisis and avert a second IMF bailout request since 2013, and its 13th IMF rescue since late the 1980s.
"They are going to the IMF because they have to get credit rating approval from the financial markets and that would not happen on the Saudi or Chinese money," said Asad Sayeed, an economist at the Collective for Social Science Research.
Pakistani officials are concerned tough IMF conditions would hit growth in the short term, as the IMF is likely to push for reduced spending, further currency devaluations and an increase in interest rates, preventing Mr Khan from fulfilling populist campaign pledges.
Mr Khan's government has pledged to create an "Islamic welfare state" and help build 5 million homes for the poor in a nation where the illiteracy rate is more than 40 per cent.
But the Saudi and Chinese help could put the government in a stronger position to negotiate better terms with the IMF, Saad Hashemy, said chief economist for local brokerage Topline Securities.
"The statement by the finance minister is a big confidence booster for the economy," Mr Hashemy said.
"What it falls short of is the exact details of the funding from the Chinese side," he added, speculating China may opt to defer payments on existing loans and buy more Pakistani imports.
Chinese foreign ministry spokeswoman Hua Chunying told a daily news briefing Beijing was "willing, in accordance with Pakistan's needs and with agreement by both sides, to provide what help we can for Pakistan's economic and social development".
Pakistani shares soared more than 3 per cent on the news of the Saudi loans, and were up another 1.5 per cent on Wednesday following Mr Umar's comments.
Mr Umar has said the country needs $12bn for immediate economic relief, but Mr Hashemy said a total figure of up to $16bn was needed to build up reserves, and negotiating a package with the IMF was the "smart thing".
Pakistan's current account deficit widened 43 per cent to $18bn in the fiscal year that ended in June, while the fiscal deficit has ballooned to 6.6 per cent of gross domestic product, problems analysts say will not go away following the latest injection of economic assistance.
"There are very deep-seated structural problems," Mr Sayeed warned.
"If you just sit back ... and carry on as you always do, that's not good because you're going to land up precisely in a similar situation in a few years."