<% var instrument = model.models[0]; if (!instrument){ return; } var decimals = instrument.getDecimals(); var mv = instrument.getDescriptorValue("MV"); var topFlopCls = instrument.getTopFlopCls(INFOBOLSA.Descriptors.ChangePercent); var ticker = instrument.getDescriptorValue("MV").replace(/(^[\s]+|[\s]+$)/g, '').replace(/\s/g, '_'); var instrumentType = instrument.getInstrumentType(); var instrumentName = instrument.getDescriptorValue('D16308'); var issuerCode = instrument.getDescriptorValue('D16304'); var issueCode = instrument.getDescriptorValue('D16303'); var instrumentTrend = topFlopCls === "top"? "sube" : topFlopCls === "equal"? "continua" : "baja"; var twitterText = "#" + instrument.getDescriptorValue("D30").replace(/\s/g, '') + " " + instrumentTrend + " " + instrument.getChangePercent() + "% hasta los " + instrument.getLast() + " #Infobolsa @infobolsa" ; var twitterTextEncode = encodeURIComponent(twitterText); var isFavorite = model.options.isFavorite; var isFavoriteClass = (isFavorite) ? "active" : "noActive"; var perfilClass = ''; if (IS_PREMIUM_USER) { perfilClass = 'premium'; } else if (IS_PLUS_USER) { perfilClass = 'plus'; } %>
<% var textOverflow = ""; if (INFOBOLSA.Utils.Global.isFavoriteIndex(instrument.getDescriptorValue('D638'))) { textOverflow = "textOverflow"; %>
<% } %>

<%= instrumentName %>

<%=$.t('infobolsa.instrumentDetails:priceAndQuoteFrom')%> <%= instrumentName %>
<%= issueCode %>
<%=instrument.getLast()%>

(<%= instrument.getDescriptorValue('D16354') %>)

<%= instrument.getDateOrTime(true, 'DD/MM/YYYY') %>
<%= instrument.getDescriptorValue('D16301') %>
<%=instrument.getChange()%>
<%=instrument.getChangePercent()%>%
<% if (instrument.isNationalInstrument() || instrument.isWarrant()) { %> <% if (IS_PREMIUM_USER || IS_PLUS_USER || instrument.isWarrant()) { %>

<%=$.t('infobolsa.instrumentDetails:theBestPosition')%>

<%=$.t('infobolsa.instrumentDetails:bid')%>
<%=instrument.getBidPrice()%>
<%=$.t('infobolsa.instrumentDetails:volumePosition')%>
<%=instrument.formatAsNumber(INFOBOLSA.Descriptors.BidVolume, 0)%>
<%=$.t('infobolsa.instrumentDetails:orders')%>
<%=instrument.formatAsNumber(INFOBOLSA.Descriptors.BidOrders, 0)%>
<%=$.t('infobolsa.instrumentDetails:ask')%>
<%=instrument.getAskPrice()%>
<%=$.t('infobolsa.instrumentDetails:volumePosition')%>
<%=instrument.formatAsNumber(INFOBOLSA.Descriptors.AskVolume, 0)%>
<%=$.t('infobolsa.instrumentDetails:orders')%>
<%=instrument.formatAsNumber(INFOBOLSA.Descriptors.AskOrders, 0)%>
<% } else { %>

La mejor posición

Actualízate a Premium
<% } %> <% } else { %>

Descárgate la app de Infobolsa:

<% } %>