The U.S. and China are almost done with their trade deal, said Treasury Secretary Steven Mnuchin on Wednesday.

“We were about 90 percent of the way there (with a deal) and I think there’s a path to complete this,” he told CNBC’s Hadley Gamble in Manama, Bahrain.

He said he’s confident President Donald Trump and Chinese President Xi Jinping can make progress in stalled trade talks at the forthcoming Group of 20 (G-20) meeting this weekend. “The message we want to hear is that they want to come back to the table and continue because I think there is a good outcome for their economy and the U.S. economy to get balanced trade and to continue to build on this relationship.”

He did not provide any detail on what the final 10 percent of an agreement might entail, or what the sticking points are to completing a deal.

Trump is meeting his Chinese counterpart Xi Jinping on Saturday at the summit in Osaka, Japan. The outcome of the meeting could be pivotal for the global economy and financial markets that have been rattled by 18 months of trade tensions between the economic giants and an escalation of tariffs on each other’s imports.

Officials have yet to negotiate a breakthrough, but there are hopes that a meeting between the two presidents could progress the discussions. Bank of America Merrill Lynch surveyed investors and found that about two-thirds expected that there would be no deal this weekend, but there would be no new tariffs either.

“I’m hopeful that we can move forward with a plan … President Trump and President Xi have a very close working relationship. We had a productive meeting at the last G-20,” Mnuchin told CNBC.

Mnuchin added that he was hopeful a deal could be struck by the end of the year but said “there needs to be the right efforts in place.” Dow futures jumped after Mnuchin’s comments and signaled a higher open for Wall Street Wednesday.

Talks between the U.S. and China broke down in May because China reportedly did not want to commit to changes in its laws to help allay U.S. concerns about intellectual property theft, forced technology transfers and currency manipulation.

Commerce Secretary Wilbur Ross has previously played down hopes for a Trump-Xi breakthrough this weekend, saying in mid-June that “the most that will come out of the G-20 might be an agreement to actively resume talks.”

The trade war has impacted both China and the U.S.′ economy, despite both presidents insisting otherwise. In April, the International Monetary Fund lowered its global growth forecast for 2019 to 3.3 percent, down from an earlier forecast of 3.5 percent, citing ongoing global trade tensions as the rationale for the downgrade.

The Federal Reserve is under pressure from Trump to cut rates to stimulate the economy, but Fed Chairman Jerome Powell emphasized the central bank’s independence in a speech Tuesday and said it was “insulated” from what he called “short-term political interests.” Still, at a policy meeting last week the Fed hinted that it could consider cutting interest rates later this year.