Stock Market & Sector Performance

ul > li.selected”)[0]; refreshMarket(targetObj, dojo.attr(targetObj, “param-market”)); } function refreshMarket(targetObj,selectedMarket){ var searchConditionObj = new Object(); var openedCharts = new Array(); var i = 0; $(“img”).each(function(){ var img = this; if($(img).attr(“src”).indexOf(“close_button.png”) != -1){ openedCharts[i++]=$(img).parent().parent().attr(“id”); } }); searchConditionObj.openedCharts = openedCharts; // update the content of this tab updateTabContent(targetObj, selectedMarket, searchConditionObj); // update the label of this tab updateTabLabel(targetObj, selectedMarket); } function updateTabLabel(){ var xhrArgs = { url:”/eresearch/markets_sectors/futureMarketChangePercent.jhtml”, handleAs: “json”, preventCache: true, load: function(data){ var liObj = dojo.query(“> li”,dojo.query(“.tab-section > ul”)[0]); var maxMarketDate = “”; for(var i = 0 ; i < 6 ; i++){ var divobj = dojo.query("#changePercentDiv" + i, liObj[i])[0]; dojo.removeClass(divobj, "loss"); dojo.removeClass(divobj, "gain"); dojo.removeClass(divobj, "no-data"); /*if(dojo.hasClass(liObj[i], "selected")){ dojo.addClass(divobj, "no-data"); divobj.innerHTML = ""; }else{*/ var tempValue = parseFloat(data.quotes[i].changePercent); if(tempValue == NaN){ dojo.addClass(divobj, "no-data"); divobj.innerHTML = ""; }else if(tempValue == 0){ dojo.addClass(divobj, "no-data"); /*var numObj = new Number(tempValue); divobj.innerHTML = numObj.toFixed(2) + "%"; modify by John Zhong*/ divobj.innerHTML =''; }else { if(data.quotes[i].changePercent.charAt(0) == '-'){ dojo.addClass(divobj, "loss"); /*var numObj = new Number(tempValue); divobj.innerHTML = numObj.toFixed(2) + "%";*/ divobj.innerHTML =''; } else { dojo.addClass(divobj, "gain"); /*var numObj = new Number(tempValue); divobj.innerHTML = "+" + numObj.toFixed(2) + "%";*/ divobj.innerHTML =''; } } //} var currentMarketDate = data.quotes[i].dateTime; if(currentMarketDate != null && currentMarketDate != ""){ var dateArray = currentMarketDate.split(" "); var timeArray = dateArray[1].split(":"); var standardHour = ""; var standardMinute = ""; if(timeArray[0].length == 1){ standardHour = "0" + timeArray[0]; }else{ standardHour = timeArray[0]; } if(timeArray[1].length == 1){ standardMinute = "0" + timeArray[1]; }else{ standardMinute = timeArray[1]; } standardCrrentMarketDate = dateArray[0]+" "+dateArray[2]+" "+standardHour + ":" + standardMinute; if(maxMarketDate != ""){ if(maxMarketDate #futureMarketDatetime")[0]; quoteSpan.innerHTML = "

LAST (% CHANGE) DELAYED AT LEAST 10 MINUTES, CLICK “REFRESH” TO UPDATE.

CURRENT QUOTE AS OF ” + maxMarketDateForDisplay+””; }, error: function(error){ // Nothing to do } }; // Call the asynchronous xhrPost var deferred = dojo.xhrGet(xhrArgs); } function updateTabContent(targetObj, selectedMarket,searchConditionObj){ var textBlocks = dojo.query(“.future-mkt-section .text-block”); for(var i = 0 ; i < 4 ; i++){ new WaitingLoader({element : textBlocks[i], showLoader : true}).start(); } var graphObj = dojo.query(".market-graph"); new WaitingLoader({element : graphObj[0], showLoader : true}).start(); var serverBase = window.location.protocol + "//" + window.location.host; var xhrArgs = { url:serverBase+"/eresearch/markets_sectors/markets_future.jhtml?topic=" + selectedMarket + "", handleAs: "text", preventCache: true, load: function(data){ dojo.query(".future-mkt-section")[0].innerHTML = data; if(selectedMarket == 'equity'){ currentTab = 'Equity'; }else if(selectedMarket == 'fixedIncome'){ currentTab = 'Interest Rates'; }else if(selectedMarket == 'forex'){ currentTab = 'ForeignExchnage'; }else if(selectedMarket == 'energy'){ currentTab = 'Energy'; }else if(selectedMarket == 'metals'){ currentTab = 'Metals'; }else if(selectedMarket == 'agri'){ currentTab = 'Agriculture'; }else{ currentTab = 'MarketsAll'; } checkedRadio = 'marketRodio'; //resetOverviewEnteroption(true); modify by John Zhong to delete research report // register the event for refresh link. $('#refreshButton').die("click"); $('#refreshButton').live("click",function() { refreshMarket(targetObj,selectedMarket); }); addMetricsForRefreshLink($('#refreshButton')); $("img").each(function(){ var id = this; if($(id).attr("src").indexOf("_button.png") != -1){ var newId = $(id).parent(); $(newId).unbind("click"); $(newId).bind("click",function(){ swapImage(id); }); } }); if(searchConditionObj != null){ collapseAll(); for(var i in searchConditionObj.openedCharts){ var openedChart = searchConditionObj.openedCharts[i]; if(openedChart != null){ var tr = dojo.byId(openedChart); if(tr != null){ var td = dojo.query("td", tr)[0]; if(td != null){ var img = dojo.query("img", td)[0]; if(img != null){ swapImage(img); } } } } } /*if(searchConditionObj.marketCheckStatus == true){ dojo.byId("market").click(); } else { dojo.byId("sector").click(); } dojo.byId("enter-option").selectedIndex=searchConditionObj.selectedMarketIndex; changeFirm(); dojo.byId("firms").selectedIndex = searchConditionObj.selectedFirmIndex; dojo.byId("timeframe").selectedIndex = searchConditionObj.selectedFrameIndex;modify by John Zhong to remove research report data*/ } }, error: function(error){ dojo.query(".future-mkt-section")[0].innerHTML = "Current market data is unavailable at this time. We apologize for any inconvenience."; } }; // Call the asynchronous xhrPost var deferred = dojo.xhrGet(xhrArgs); } function changeMarket(targetObj, selectedMarket){ // check whether the target tab is current selected tab. if(dojo.hasClass(targetObj, "selected")){ return false; } // update the selected style of tab var ulObj = dojo.query(".tab-section > ul”); dojo.query(“li”, ulObj[0]).forEach(function(node, index, arr){ if(dojo.hasClass(node, “selected”)){ dojo.removeClass(node, “selected”); } }); dojo.addClass(targetObj, “selected”); // update the content of this tab updateTabContent(targetObj, selectedMarket, null); // update the label of this tab updateTabLabel(); } function addMetricsLinkEvent(divId) { if (_VS != null) { if (_VS.vs[‘lt’] && _VS.vs[‘lt’]==”1″) { var a = $(‘#’+divId+’ a’), b = 0; for (b=0;b

Stock Market & Sector Performance – Fidelity ‘); } }catch(e){ console.log(‘no load bs’); } ]]> 1){ width = openWin.arguments[1]; height = openWin.arguments[2]; } if(openWin.arguments.length > 3){ left = openWin.arguments[3]; top = openWin.arguments[4]; scrollbar = ‘scrollbars=no’; if (screen.width 0 ? ‘&output=print’ : ‘?&output=print’); openWin(printUrl); } ]]> Content and data provided by various third parties and Fidelity – Terms of Use 1){ width = openWinTOC.arguments[1]; height = openWinTOC.arguments[2]; } if(openWinTOC.arguments.length > 3){ left = openWinTOC.arguments[3]; top = openWinTOC.arguments[4]; scrollbar = ‘scrollbars=no’; if (screen.width 1){ width = openWinCale.arguments[1]; height = openWinCale.arguments[2]; } if(openWinCale.arguments.length > 3){ left = openWinCale.arguments[3]; top = openWinCale.arguments[4]; scrollbar = ‘scrollbars=no’; if (screen.width

Markets & Sectors

Markets

U.S. Sectors & Industries

News & Reports

Not a Fidelity customer? 
Try our research for free without opening an account.

Global Markets Performance

AS OF 08:16 PM ET 02/08/2021 Refresh

U.S. Markets Performance

Blended Contracts Last (Change) Refresh Prior Date* 1 Month* 1 Year*
S&P 500
(E-Mini)
3,907.25 (-0.75 , -0.02%) 3,908.00* 3,718.25 3,335.00
Nasdaq 100
(E-mini)
13,669.25 (-13.75 , -0.10%) 13,683.00* 12,793.50 9,381.50
DJIA ($5)
(E-Mini)
31,268.00 (0.00 , 0.00%) 31,268.00* 30,993.00 29,044.00
Nikkei 225
(Dollar)
29,515.00 (+70.00 , +0.24%) 29,445.00* 27,160.00 23,695.00

=Increase =Decrease =No Change

Latest Equity Research Reports

‘ + ‘

‘ + isBrowserCompatible + ‘

‘ + ‘

true

‘ + ‘

true

‘ + ‘

‘ + loggedIn + ‘

‘ + ‘

true

‘ + ‘

‘ + featureToggle + ‘

‘ + ” + ” + ” + ” + ” + ” + ” + ” + ‘‘); //insert a placeholder for the docked TT if (isBrowserCompatible === true && featureToggle == ‘on’ && loggedIn == ‘yes’) { // fetch the trade ticket $(“”).appendTo(“.docked-top-container”); $.ajax({ type: ‘GET’, url: tradeUrl, contentType: ‘text/plain’, xhrFields: { withCredentials: true }, headers: {}, success: function (response) { $(“#dockedComponents”).html(response); }, error: function (xhRequest, ErrorText, thrownError) { console.log(“CORS Error while importing DOCKED TT: ” + xhRequest.responseText) } }); } } function getInternetExplorerVersion() { var rv = -1; var ua = navigator.userAgent; if (navigator.appName === ‘Microsoft Internet Explorer’) { var re = new RegExp(“MSIE ([0-9]{1,}[.0-9]{0,})”); if (re.exec(ua) != null) { rv = parseFloat(RegExp.$1); } } else if (navigator.appName === ‘Netscape’) { var re = new RegExp(“Trident/.*rv:([0-9]{1,}[.0-9]{0,})”); if (re.exec(ua) != null) { rv = parseFloat(RegExp.$1); } } return rv; } function seedATicket(jsonInput) { //fetch the state variables var browserCompatability = false; var dockedEntitled = false; var dockedPreference = true; var loggedInState = false; var featureToggle = ‘off’; var featureToggleDiv = $(‘#featureToggle’); if (featureToggleDiv != null || featureToggleDiv != undefined) { featureToggle = featureToggleDiv.html(); } var browserCompatabilityDiv = $(‘#dockedTicketBrowserCompatability’); if (browserCompatabilityDiv != null || browserCompatabilityDiv != undefined) { browserCompatability = browserCompatabilityDiv.html(); } var dockedEntitledDiv = $(‘#dockedTicketEnabledEntitlement’); if (dockedEntitledDiv != null || dockedEntitledDiv != undefined) { dockedEntitled = dockedEntitledDiv.html(); } var dockedPreferenceDiv = $(‘#dockedTicketPreference’); if (dockedPreferenceDiv != null || dockedPreferenceDiv != undefined) { dockedPreference = dockedPreferenceDiv.html(); } var loggedInStateDiv = $(‘#dockedTicketLoggedInState’); if (loggedInStateDiv != null || loggedInStateDiv != undefined) { loggedInState = loggedInStateDiv.html(); } // fetch data to seed from json input var seedingParams = fetchParams(jsonInput); var securityType = seedingParams.securityType; if (browserCompatability == ‘false’ || ((typeof mmDefault !== ‘undefined’ && mmDefault != “true”) && (dockedEntitled == ‘false’ || dockedPreference == ‘false’ || featureToggle != ‘on’))) { //if not showing docked, then rebuild link var url = rebuildTradeLink(jsonInput); window.open(url, “_self”); } else if (securityType == ‘H’ || securityType == ‘F’ || securityType == ‘BT’ || securityType == ‘MLO’ || securityType == ‘CT’ || securityType == ‘X’) { //if not showing docked, then rebuild link var url = rebuildTradeLink(jsonInput); window.open(url, “_self”); } else if (loggedInState == ‘no’ || loggedInState == ‘member’) { // [PIATQTR-3635] set flag to open float ticket. setSessionStorage(“openFloatTicket”, true); var orderInfo = { ‘SYMBOL’: seedingParams.symbol, ‘ORDER_TYPE’: seedingParams.securityType, ‘ORDER_ACTION’: seedingParams.orderAction, ‘LIMIT_STOP_PRICE’: seedingParams.limitStopPrice, ‘ACCOUNT’: seedingParams.account, ‘QTY’: seedingParams.qty, ‘ACCOUNT_TYPE’: seedingParams.accountType }; var tradeInfo = { ‘orderInfo’: orderInfo }; setSessionStorage(“tradeInfo”, JSON.stringify(tradeInfo)); var redirectUrl = $(location).attr(‘href’); $(location).attr(‘href’, ‘https://login.fidelity.com/ftgw/Fas/Fidelity/RtlCust/Login/Init?AuthRedUrl=’ + redirectUrl); } else { //test for float on page var quickTradewrapper = $(‘.quick-trade-popup-wrapper’); if (quickTradewrapper == null || quickTradewrapper == undefined || quickTradewrapper.length == 0) { //if float is not present, reopen it openNewFloat(seedingParams); } else { //if floating ticket is present, attempt to seed ticket populateExistingTicket(seedingParams); } } } function fetchParams(jsonInput) { var symbol = “symbol”; var securityType = “securityType”; var orderAction = “orderAction”; var limitStopPrice = “limitStopPrice”; var results = {}; for (var i = 0; i 0) { // split the logged in param value out var loggedInQuery = queryParamSplit[0].split(“=”); if (loggedInQuery.length > 1 && loggedInQuery[0] === ‘login’) { if (loggedInQuery[1] && (loggedInQuery[1] === ‘yes’ || loggedInQuery[1] === ‘no’ || loggedInQuery[1] === ‘member’)) { loggedInParam = loggedInQuery[1]; } } } } return loggedInParam; } /** * Parses the default param after app calls this bootstrap file * @returns {string} whether the calling app needs to pass in a default value for use in initialization */ function getDefaultParam(queryString) { var defaultsForTicketParam = “none”; if (queryString != null && queryString != undefined && queryString != “”) { var queryParamSplit = queryString.split(“&”); if (queryParamSplit.length > 1) { // split the default param var defaultQuery = queryParamSplit[1].split(“=”); if (defaultQuery.length > 1 && defaultQuery[0] === ‘default’) { if (defaultQuery[1] && (defaultQuery[1] === ‘mm’)) { defaultsForTicketParam = defaultQuery[1]; } } } } return defaultsForTicketParam; }

Related Post

Be the first to comment

Leave a Reply

Your email address will not be published.


*