<% var instrument = model.models[0]; if (!instrument){ return; } var decimals = instrument.getDecimals(); var min = instrument.getDescriptorValue(INFOBOLSA.Descriptors.SessionLow); var max = instrument.getDescriptorValue(INFOBOLSA.Descriptors.SessionHigh); var mv = instrument.getDescriptorValue("MV"); var agrup = instrument.getAgrup(); url = instrument.composeDetailsUrl(); if (view.options.viewOptions && !view.options.viewOptions.showAds) { url = url + '?noAds=1'; } %>
<%=instrument.getLast()%>
<%=instrument.getChangePercent()%>%
<%= instrument.getDate() %> <%= instrument.getTime() %>
<%= $.t("infobolsa.instrumentDetails:sessionLow")%>: <%=instrument.getSessionLow() %>
<%= $.t("infobolsa.instrumentDetails:sessionHigh")%>: <%=instrument.getSessionHigh()%>
<% if (view.options.viewOptions && view.options.viewOptions.button === 'details') { %> <%= $.t("infobolsa.global:text.viewIndexesDetails")%> <% if (view.options.viewOptions.period === 'sesion') { %>
Ver Treemap
<% } %> <% } else { %> <% if (INFOBOLSA.UrlFriendlyRoutes[mv]) { %> <%= $.t("infobolsa.global:text.viewComponents")%> <% } else if (agrup.substring(0,4) !== 'n.a.' && agrup !='') { %> <%= $.t("infobolsa.global:text.viewComponents")%> <% } %> <% } %>