The Nasdaq Composite was up 34.61 points, or 0.56 percent, at 6,251.48.
The market was also waiting for USA inflation data on Friday that would offer clues about the extent to which the strengthening USA labour market is spilling over into inflation.
The Standard & Poor's 500 index slipped 0.90 points, or 0.04 percent, to 2,474.02.
The dollar weakened after news that USA producer prices unexpectedly fell in July, recording their biggest drop in almost a year and pointing to a further moderation in inflation that could delay a Federal Reserve interest rate increase. Major indexes in Asia closed lower.
The world equity markets have lost 1000 billions of dollars of funding since the beginning of the verbal sparring between the United States and North Korea.
"Trump's comments about North Korea have created nervousness and the fear is if the President really means what he said: "fire and fury"," said Naeem Aslam, chief market analyst at Think Markets in London.
The strength on Wall Street was partly due to bargain hunting, with traders picking up stocks at reduced levels following the pullback seen over the past few sessions. Randgold Resources Ltd. and Barrick Gold Corp. were among the best performers, each gaining more than 1.4 percent.
Bryce Harper Carried Off Field After Suffering Left Knee Injury Vs. Giants
Rookie Andrew Stevenson came on to play center field in the second and Brian Goodwin moved from center to right. Brewers get Walker • The Milwaukee Brewers agreed to acquire veteran second baseman Neil Walker from the Mets.
The bond market was without direction: the yield of u.s. Treasury bills to 10 years, which evolves to the inverse of the bond price, appears to 2,190 %, compared to 2,198 % Thursday evening, and that bills to 30 years at 2,786 %, compared to 2,773 %. The dollar notched a two-month trough on the safe-haven Japanese yen and was last down 0.3 percent at 109.99. Netflix also fell, giving up $2.58, or 1.4 percent, to $175.78.
The Federal Reserve is also scheduled to release the minutes of its latest monetary policy meeting, which may shed some light on the outlook for the interest rates.
Department store operator J.C. Penney (JCP) is also among the companies due to report their results before the start of trading on Friday. The euro rose to $1.1812 from $1.1774. Australia's S&P/ASX 200 dropped 1.2 percent.
The S&P 500 dropped the most since May and MSCI's gauge of stocks across the globe .MIWD00000PUS lost 1.1 percent in its third straight day of declines, as it pulled further back from all-time highs.
Dow e-minis were down 56 points, or 0.25 percent, with 29,071 contracts changing hands at 8:36 a.m. ET (1236 GMT).
"A global stock market fund will have its fair share of value and growth companies, unlike -say- the FTSE 100 index which is predominately value-orientated with its bias towards energy, mining and financial, or the Japanese TOPIX which is growth-orientated with a predominance of consumer goods companies".