‘;
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
CNNMoney’s Fear & Greed Index, which tracks seven indicators of market sentiment, is now in “extreme greed” territory.
Big tech stocks continue to lead the way, despite the fact that many industry leaders are at odds with President Trump regarding his stance on immigration, climate change and other policies.
Lindsey Bell, an investment strategist with CFRA, wrote last week that investors are sticking with tech stocks because gridlock in Washington shouldn’t affect businesses like Apple (AAPL, Tech30), Microsoft (MSFT, Tech30), Facebook (FB, Tech30) and Amazon (AMZN, Tech30).
Looking further afield, nearly all European markets were posting healthy gains in early trading. Most Asian markets ended the day in positive territory. Hong Kong’s Hang Seng index shot up by 1.2%.
In commodities, crude oil futures are also rising by nearly 1% to trade above $50 per barrel.
Before the Bell newsletter: Key market news. In your inbox. Subscribe now!
2. Market turbulence: Shares in European airline Ryanair (RYAAY) are dropping by 3% on the Irish Stock Exchange after the company announced it would cancel up to 50 flights per day over the next six weeks.
It said it was canceling less than 2% of its schedule to improve flight punctuality and ensure pilots and cabin crew are able to use their vacation days.
3. Bitcoin bump: Bitcoin prices are surging on Monday after tanking late last week.
One bitcoin is now worth nearly $4,000, up about 33% since last week’s low, according to data from digital currency website CoinDesk.
Two of China’s most prominent bitcoin exchanges, BTC China and Via BTC said Thursday they would halt trading this month, sending the price of the virtual currency crashing.
Download CNN MoneyStream for up-to-the-minute market data and news
4. Coming this week:
Monday — Business leaders speak about climate change issues at the C40 Talks in New York
Tuesday — FedEx (FDX) and Bed Bath & Beyond (BBBY) earnings; Federal Reserve begins two-day meeting
Wednesday — General Mill (GIS)earnings; Federal Reserve interest rate decision and press conference
Thursday — Manchester United (MANU) earnings
Friday — OPEC and non-OPEC oil ministers meet in Vienna
CNNMoney (London) First published September 18, 2017: 5:26 AM ET