<% var tableClass = ''; if (IS_PREMIUM_USER) { tableClass = 'premium'; } else if (IS_PLUS_USER) { tableClass = 'plus'; } %>

<%=$.t('infobolsa.global:favorites.myFavorites')%>

<% var mv = ''; var decimals,topFlopCls,instrumentType,last,difPercent; _.each(model.models, function(instrument) { isFund = (instrument.getInstrumentType() === INFOBOLSA.InstrumentTypes.funds); mv = instrument.getDescriptorValue("MV"); last = (isFund) ? instrument.getNetAssetValue(4) : instrument.getLast(); topFlopCls = (isFund) ? instrument.getTopFlopCls(INFOBOLSA.Descriptors.YearReturn) : instrument.getTopFlopCls(INFOBOLSA.Descriptors.Trend); decimals = instrument.getDecimals(); url = instrument.composeDetailsUrl(); difPercent = (isFund) ? instrument.getYearReturn() : instrument.getChangePercent() %> <% }); %>
<%=$.t('infobolsa.instrumentList:headers.name')%> <%=$.t('infobolsa.instrumentList:headers.last')%> <%=$.t('infobolsa.instrumentList:headers.difpct')%> <%=$.t('infobolsa.instrumentList:headers.volume')%> <%=$.t('infobolsa.instrumentList:headers.high')%> <%=$.t('infobolsa.instrumentList:headers.low')%> <%=$.t('infobolsa.instrumentList:headers.cash')%> <%=$.t('infobolsa.instrumentList:headers.time')%> <%=$.t('infobolsa.instrumentList:headers.date')%>
<%= instrument.getShortName() %> <%= last %> <%= difPercent %>
<%=instrument.formatAsNumber(INFOBOLSA.Descriptors.Volume, 0)%>
<%=instrument.getSessionHigh()%>
<%=instrument.getSessionLow()%>
<%=instrument.formatAsNumber(INFOBOLSA.Descriptors.Cash, 0)%>
<%= instrument.getTime() %>
<%= instrument.getDate() %>