Dow posts worst week in two years

Global markets are still trying to stabilize after a turbulent couple of weeks.

Asian stocks mostly headed higher Tuesday, with major indexes in Hong Kong and Shanghai up more than 1% in afternoon trading.

‘;
var storytext = document.getElementById(‘storytext’);
var heightToSkip = 0;

function resetValues()
{
totalHeight = 0;
targetChildElement = null;
}

// Check if story is in the blacklist of articles to remove smartassets
// [2017.07.27] Results of a one-off request from r.barbieri
if(BLACKLIST[location.pathname] === true) {
return
}
if(storytext == null)
{
console.log(“Error finding storytext element for SA embed”);
return;
}


for ( i = 0; i 0)
{
heightToSkip -= storytext.childNodes[i].clientHeight;
resetValues();
}
else if(heightToSkip minHeight && targetChildElement != null)
{
//console.log(“total height = ” + totalHeight);
//console.log(“childNode = ” + targetChildElement);

storytext.childNodes[targetChildElement].insertAdjacentHTML(‘afterend’, smartAssetDiv);
smartasset = document.getElementById(‘smartasset-article’);
smartasset.style.float = ‘left’; // allows module to have text float to right
smartasset.style.marginRight =’20px’;
smartasset.style.marginBottom =’25px’;

//console.log(storytext.childNodes[targetChildElement]);
//SMARTASSET.setDivIndex(targetChildElement);
SMARTASSET.setSmartAssetScript();

/* bail out since we’re done */
break;
}

}

/* div with id=”smartassetcontainer”. Sanity check to only embed once */
else if (storytext.childNodes[i].nodeName.toLowerCase() === ‘div’ && storytext.childNodes[i].id !== “undefined” && storytext.childNodes[i].id === “smartassetcontainer”) {
break;
}

/* div with id=”ie_column” */
else if (storytext.childNodes[i].nodeName.toLowerCase() === ‘div’ && storytext.childNodes[i].id !== “undefined” && storytext.childNodes[i].id === “ie_column”) {
resetValues();
}

/* embeds from twitter, facebook, youtube */
else if (storytext.childNodes[i].nodeName.toLowerCase() === ‘div’ && storytext.childNodes[i].classList.contains(’embed’)) {
resetValues();
}

/* cnn video player */
else if (storytext.childNodes[i].nodeName.toLowerCase() === ‘div’ && storytext.childNodes[i].classList.contains(‘cnnplayer’)) {
resetValues();
}

/* images */
else if (storytext.childNodes[i].nodeName.toLowerCase() === ‘img’)
{
resetValues();
}

/* images stored in figure tags */
else if (storytext.childNodes[i].nodeName.toLowerCase() === ‘figure’)
{
if(storytext.childNodes[i].clientWidth

But the gains weren’t across the board.

Japan’s Nikkei started the day strongly before sliding into the red in the afternoon, losing 0.5%. Dow futures were also dipping slightly into negative territory, showing a 0.3% decline at 12:45 a.m. ET.

On Monday in the United States, the Dow climbed a bit higher, gaining 1.7%, or 410 points.

Wall Street has started showing signs of calmer trading. After six straight days of 500-point swings, and often twice as much, the Dow remained in a relatively narrower trading range of about 450 points on Monday.

And the VIX, a closely watched measure of market volatility, fell 12% on Monday after spiking last week.

Related: Dow shoots 410 points higher: Is the worst over?

So far, the Dow has recovered more than a quarter of the 2,756 points it lost between the peak on January 26 and the closing low on Thursday.

The comeback on Monday put the Dow and S&P 500 down slightly for the year and the Nasdaq up 1.1% in 2018.

The stock market is likely to keep taking cues from the bond market. The 10-year Treasury yield, which reflects inflation worries, crept to a four-year high on Monday before backing off.

Still, many analysts say that the strong economy means that the losses, if they continue, shouldn’t go on for long.

— Sherisse Pham, Jethro Mullen and Matthew Egan contributed reporting to this story.

CNNMoney (New York) First published February 13, 2018: 1:08 AM ET