% var openPositionData = model.models; var openPositionTotalData =model.footer; %>
| Nombre | Imp.Compra/Títulos Imp.C/ Tít. | Val.Act./Último V.Act./ Últ. | Prec.Comp./Fecha Prec.C./ Fecha | Rent.%/€ Rent.%/ € | |||
|---|---|---|---|---|---|---|---|
| <%= instrument.getShortName() %> | <%= instrument.formatValueAsNumber(instrument.data.buyValue, 2) %> | <%= instrument.formatValueAsNumber(instrument.data.sellValue, 2) %> | <%= instrument.formatValueAsNumber(instrument.data.avgBuyPrice, 2) %> | <%= instrument.formatValueAsNumber(instrument.data.difpct, 2) %>% | <% if (instrument.data.assetType === 'FI'){ %> <%=$.t('infobolsa.portfolio:text.subscribe') %> C <%} else {%> <%=$.t('infobolsa.portfolio:text.buy')%> C <% } %> | <% if (instrument.data.assetType === 'FI'){ %> <%=$.t('infobolsa.portfolio:text.refund')%> V <%} else {%> <%=$.t('infobolsa.portfolio:text.sell')%> V <% } %> | |
| <%= instrument.data.D25 %> | <%= instrument.formatValueAsNumber(instrument.data.shares,0) %> | <%= instrument.formatValueAsNumber(instrument.data._last,2) %> | <%= instrument.getDate() %> | <%= instrument.formatValueAsNumber(instrument.data.dif, 2) %> | |||
| <%= INFOBOLSA.Models.Instrument.prototype.formatValueAsNumber(openPositionTotalData.buyValue, 2) %> | <%= INFOBOLSA.Models.Instrument.prototype.formatValueAsNumber(openPositionTotalData.sellValue, 2) %> | <%= INFOBOLSA.Models.Instrument.prototype.formatValueAsNumber(openPositionTotalData.dif, 2) %> |