HA LLEGADO A LA CREACIÓN DEL REGISTRO: SET time_zone ='Europe/Madrid'
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_periodicos FORCE INDEX (cms_periodicos_activo_dominio) where activo=1 and dominio = 'oacloud.estrategiasdeinversion.com' limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT *, (SELECT nombre FROM cms_portadas_edicionv2 FORCE INDEX (cms_portadas_edicionv2_id_portada_edicion_nombre) WHERE id_portada_edicion = cms_periodicos.id_portada_inicio) AS portada_inicio, (SELECT friendly_url FROM cms_portadas_edicionv2 FORCE INDEX (cms_portadas_edicionv2_id_portada_edicion_nombre) WHERE id_portada_edicion = cms_periodicos.id_portada_inicio) AS friendly_url_portada_inicio FROM cms_periodicos FORCE INDEX (cms_periodicos_dominio_activo, cms_periodicos_dominio_staging_activo, cms_periodicos_dominio_produccion_activo) WHERE activo = 1 AND (dominio = 'oacloud.estrategiasdeinversion.com' OR dominio_staging = 'oacloud.estrategiasdeinversion.com' OR dominio_produccion = 'oacloud.estrategiasdeinversion.com') ORDER BY portada_por_defecto DESC, id_periodico ASC LIMIT 1;
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select id_portada_edicion from cms_portadas_edicionv2 where friendly_url='firmas'
HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT *, (SELECT nombre FROM cms_portadas_edicionv2 FORCE INDEX (cms_portadas_edicionv2_id_portada_edicion_nombre) WHERE id_portada_edicion = cms_periodicos.id_portada_inicio) AS portada_inicio, (SELECT friendly_url FROM cms_portadas_edicionv2 FORCE INDEX (cms_portadas_edicionv2_id_portada_edicion_nombre) WHERE id_portada_edicion = cms_periodicos.id_portada_inicio) AS friendly_url_portada_inicio FROM cms_periodicos FORCE INDEX (cms_periodicos_dominio_id_portada_inicio) WHERE activo = 1 AND dominio = 'oacloud.estrategiasdeinversion.com' AND id_portada_inicio = 175 ORDER BY id_periodico ASC LIMIT 1;
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select id_portada from cms_usuarios_portadas where id_usuario='0'
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select nombre from cms_periodicos where id_periodico='0' limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT *, (SELECT nombre FROM cms_portadas_edicionv2 FORCE INDEX (cms_portadas_edicionv2_id_portada_edicion_nombre) WHERE id_portada_edicion = cms_periodicos.id_portada_inicio) AS portada_inicio, (SELECT friendly_url FROM cms_portadas_edicionv2 FORCE INDEX (cms_portadas_edicionv2_id_portada_edicion_nombre) WHERE id_portada_edicion = cms_periodicos.id_portada_inicio) AS friendly_url_portada_inicio FROM cms_periodicos FORCE INDEX (cms_periodicos_dominio_activo) WHERE activo = 1 AND dominio LIKE '%estrategiasdeinversion.com%' LIMIT 1;
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_portadas_edicionv2 where id_portada_edicion=0
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_portadas_edicionv2 where activo and id_periodico=1 and friendly_url<>'' and friendly_url='como-se-calcula-la-rentabilidad-curiosidad-financiera-n-724471' and id_portada_padre in (select id_portada_edicion from cms_portadas_edicionv2 where activo and id_periodico=1 and friendly_url<>'' and friendly_url='firmas')
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_redirecciones where activo=1 and trim(url_origen)='https://oacloud.estrategiasdeinversion.com/assets-manager/firmas/como-se-calcula-la-rentabilidad-curiosidad-financiera-n-724471' order by id desc limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_portadas_edicionv2 where activo and id_periodico=1 and friendly_url<>'' and friendly_url='como-se-calcula-la-rentabilidad-curiosidad-financiera-n-724471'
HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT cms_articulos.*, titulo AS titulo, (SELECT nombre FROM cms_portadas_edicionv2 WHERE id_portada_edicion = cms_articulos.id_categoria) AS edicion, (SELECT nombre FROM cms_portadas_edicionv2 WHERE id_portada_edicion = cms_articulos.id_categoria_2) AS categoria_2, (SELECT nombre FROM cms_blogs WHERE id_blog = cms_articulos.id_categoria) AS blog, GROUP_CONCAT(cms_tags.nombre SEPARATOR ', ') AS tags FROM cms_articulos LEFT JOIN cms_articulos_taxonomias ON cms_articulos.id_articulo = cms_articulos_taxonomias.id_articulo LEFT JOIN cms_tags ON cms_articulos_taxonomias.id_taxonomia = cms_tags.id WHERE cms_articulos.supervisado = 1 AND cms_articulos.id_periodico = 1 AND cms_articulos.friendly_url <> '' AND cms_articulos.friendly_url = 'como-se-calcula-la-rentabilidad-curiosidad-financiera-n-724471' GROUP BY cms_articulos.id_articulo
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_articulos_videos where id_articulo=3208758 and id_video>0 order by id_video asc limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_articulos_imagenes where id_articulo=3208758 order by orden asc
HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT cms_articulos.*, titulo AS titulo, (SELECT nombre FROM cms_portadas_edicionv2 WHERE id_portada_edicion = cms_articulos.id_categoria) AS edicion, (SELECT nombre FROM cms_portadas_edicionv2 WHERE id_portada_edicion = cms_articulos.id_categoria_2) AS categoria_2, (SELECT nombre FROM cms_blogs WHERE id_blog = cms_articulos.id_categoria) AS blog, GROUP_CONCAT(cms_tags.nombre SEPARATOR ', ') AS tags FROM cms_articulos LEFT JOIN cms_articulos_taxonomias ON cms_articulos.id_articulo = cms_articulos_taxonomias.id_articulo LEFT JOIN cms_tags ON cms_articulos_taxonomias.id_taxonomia = cms_tags.id WHERE cms_articulos.id_articulo = 3208758 AND cms_articulos.supervisado = 1 GROUP BY cms_articulos.id_articulo
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_articulos_videos where id_articulo=3208758 and id_video>0 order by id_video asc limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_articulos_imagenes where id_articulo=3208758 order by orden asc
Cómo se calcula la rentabilidad: curiosidad financiera técnica | Estrategias de Inversión HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT p.friendly_url AS friendly_url, p.id_importacion AS id_importacion, p.id_portada_padre AS id_portada_padre, per.dominio AS dominio, per.dominio_staging AS dominio_staging FROM cms_portadas_edicionv2 AS p FORCE INDEX (cms_portadas_edicionv2_id_portada_edicion_id_periodico) LEFT JOIN cms_periodicos AS per FORCE INDEX (cms_periodicos_id_periodico_dominio) ON p.id_periodico = per.id_periodico WHERE p.id_portada_edicion = 175;
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url, id_portada_padre from cms_portadas_edicionv2 where id_portada_edicion=173
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_blogs where id_blog=3082
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'mega' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'roba' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'roba' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'roba' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'roba' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'roba' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'sky' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'sky' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'sky' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'sky' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'sky' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'sky' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'sky' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'sky' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'sticky' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'nativo' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23,24) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23,24) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23,24) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23,24) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23,24) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23,24) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23,24) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23,24) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23,24) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23,24) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23,24) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'mega' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'roba' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'roba' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'roba' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'roba' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'roba' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'sticky' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'sky' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,24) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'sky' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,24,22) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'nativo' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,24,22,23) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,24,22,23) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,24,22,23) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,24,22,23) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,24,22,23) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,24,22,23) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,24,22,23) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,24,22,23) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,24,22,23) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,24,22,23) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,24,22,23) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'sky' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'sky' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,22) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'sticky' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,22,23) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_hoy_es_noticia where activo and tipo = 'cabecero' and FIND_IN_SET('1', periodicos) > 0 and (select count(*) from cms_destacados_portadas where id_destacado=cms_hoy_es_noticia.id_hoy and id_portada=1)>0 order by id_hoy asc
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'mega' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,22,23,24) order by prioridad desc, posicion asc, RAND() limit 1

Cómo se calcula la rentabilidad: curiosidad financiera técnica

Carlos Arenas nos explica las distintas formas que existen para calcular la rentabilidad de los activos, con ejemplos prácticos de las diversas modalidades de cálculo. 

HA LLEGADO A LA CREACIÓN DEL REGISTRO: select a.id_articulo, a.titulo, a.id_categoria, a.friendly_url, a.friendly_url_categoria from cms_articulos_relacionados ar FORCE INDEX (cms_articulos_relacionados_id_articulo_id_articulo_relacionado) left join cms_articulos a FORCE INDEX (PRIMARY) on ar.id_relacionado = a.id_articulo where ar.id_articulo = 3208758 and ar.id_articulo <> 0 and ar.id_articulo is not NULL order by ar.id_articulo_relacionado asc limit 2
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_articulos_audios where id_articulo=3208758 order by id_articulo_audio asc
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_blogs where id_blog =3082
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_articulos_videos where id_articulo=3208758 order by id_articulo_video asc limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_articulos_imagenes where id_articulo=3208758 order by orden asc limit 1

La rentabilidad de una inversión se puede calcular de distintos modos. El método que solemos utilizar es la rentabilidad lineal. Esta consiste en dividir el valor final de la inversión entre el valor inicial, restarle 1 y multiplicarlo por cien. En caso de que haya aportaciones y reembolsos, también se incluyen.

HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,22,23,24,21) order by prioridad desc, posicion asc, RAND() limit 1

La rentabilidad lineal mide la variación de patrimonio, independientemente de cuándo se hayan realizado aportaciones o reembolsos, por lo que no tiene en cuenta factores esenciales de la inversión. Siendo más sencilla de calcular y de entender, no representa de modo adecuado la verdadera rentabilidad de una inversión. Su cálculo, en porcentaje, se efectúa del siguiente modo:

HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='14:50:09' or hora_inicio='00:00:00') and (hora_fin>='14:50:09' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,22,23,24,21,87) order by prioridad desc, posicion asc, RAND() limit 1

HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='14:50:10' or hora_inicio='00:00:00') and (hora_fin>='14:50:10' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,22,23,24,21,87,88) order by prioridad desc, posicion asc, RAND() limit 1

En este caso, daría igual cuándo se efectúen las distintas aportaciones y retiradas en las inversiones, que esta rentabilidad no lo tiene en cuenta. Por tanto, su cálculo no refleja la rentabilidad del dinero invertido.

HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='14:50:10' or hora_inicio='00:00:00') and (hora_fin>='14:50:10' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,22,23,24,21,87,88,89) order by prioridad desc, posicion asc, RAND() limit 1

Existe otro cálculo mucho más preciso conocido como valor liquidativo o rentabilidad por NAV (Net Asset Value por sus siglas en inglés). Este valor liquidativo hace referencia al precio de las participaciones de un fondo de inversión. También se puede (y se debe) utilizar en el cálculo de la rentabilidad de una cartera de inversiones. Este valor resulta de dividir el patrimonio del fondo (o de la cartera de inversión) entre el número de participaciones. 

Este cálculo es mucho más preciso, pues tiene en cuenta el momento temporal en que se realizan las aportaciones y/o reembolsos. De este modo, podemos encontrarnos con una cartera que tiene una rentabilidad lineal distinta de la rentabilidad por NAV. Si no ha habido ninguna aportación o reembolso, deberán coincidir. En caso contrario nos encontraremos con diferencias que, en algún caso, pueden ser importantes. De hecho, existen casos en los que tendremos rentabilidad lineal positiva y rentabilidad por NAV negativa, o viceversa. Esta diferencia entre ambos tipos de cálculo puede derivar en confusiones perfectamente entendibles. Incluso, se pueden dar casos en los que una rentabilidad por NAV sea positiva cuando el patrimonio de la cuenta ha disminuido. Curioso, ¿verdad? Este concepto no es, para nada, intuitivo, pero vamos a tratar de explicarlo con un sencillo ejemplo.

HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='14:50:10' or hora_inicio='00:00:00') and (hora_fin>='14:50:10' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,22,23,24,21,87,88,89) order by prioridad desc, posicion asc, RAND() limit 1

Supongamos que tenemos una gallina que pone un huevo cada día, durante 10 días consecutivos. 

Imaginemos que tenemos otra gallina que, después de 10 días, también ha puesto 10 huevos. Pero en este segundo caso, hasta el sexto día no puso huevos.

HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='14:50:10' or hora_inicio='00:00:00') and (hora_fin>='14:50:10' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,22,23,24,21,87,88,89) order by prioridad desc, posicion asc, RAND() limit 1

Podemos decir que ambas gallinas pusieron 10 huevos, pero la velocidad a la que puso huevos la segunda gallina en los últimos 5 días tuvo que ser mucho más elevada que la primera gallina para alcanzar la misma cantidad. Esto mismo es lo que sucede con la rentabilidad medida por NAV comparada con la rentabilidad lineal.

En el caso de la rentabilidad por NAV sí se tiene en cuenta el momento en que se producen las aportaciones y retiradas, de manera que su cálculo incluye la rentabilidad de todo el dinero en el momento en el que este se invierte. El cálculo es un poco más complejo, pues requiere contabilizar la cartera con el valor de las participaciones que tiene (reales o ficticias), para calcular el NAV y poder medir, finalmente, la rentabilidad.

En este caso 1 no existen diferencias entre ambas rentabilidades, pues no existen aportaciones ni retiradas.

Si introducimos una aportación a mitad o final del periodo, ese nuevo dinero tiene que “rentar” mucho más para llegar a la cantidad final absoluta (valor de la inversión), por lo que la rentabilidad por NAV será superior a la rentabilidad lineal.

En cambio, si esta misma aportación se realizase antes en el tiempo, ese nuevo dinero (la aportación), no tendría que “rentar” tanto. De este modo las rentabilidades por NAV y la lineal serían más parecidas.

Como hemos mencionado, se pueden ver casos peculiares, en donde la aportación se produce en un momento en el que la rentabilidad está siendo negativa. Según haya sido la rentabilidad anterior y posterior, nos podemos encontrar con un patrimonio que ha decrecido; lo que quiere decir que tendríamos una rentabilidad lineal negativa y tener, en cambio, una rentabilidad por NAV positiva. En este ejemplo, si la aportación hubiera sucedido antes en el tiempo, al igual que en el caso de la Tabla 8, la rentabilidad lineal y la calculada con el NAV tenderían a parecerse más (Tabla 10).

Lo mismo que sucede con las aportaciones lo vemos con las retiradas, en sentido contrario. También observamos que puede existir una rentabilidad línea positiva y una rentabilidad por NAV negativa.

Las diferencias entre las rentabilidades calculadas por NAV y la lineal van a depender de las rentabilidades positivas o negativas de la cartera en el periodo de tiempo analizado, de cuándo se haya realizado la/s aportación y/o retirada/s, etc.

Por ejemplo, si Pablo no tiene dinero en el momento 0, aunque el mercado suba un 10%, no va a obtener rentabilidad ninguna. Si en el momento 1 aporta 10 euros y el mercado sube un 10%, tendrá ese porcentaje de ganancia en su inversión. 

Si Pedro tiene los 10 euros desde al comienzo, sin realizar aportaciones, su rentabilidad será mayor.

Pero si ambas personas terminasen con 11 euros, querría decir que la rentabilidad obtenida por Pablo en el segundo periodo (cuando ha realizado la aportación) es más elevada que la de Pedro. El dinero de Pablo ha tenido que “correr” más para llegar a 11 euros. Es decir, su rentabilidad por NAV sería más elevada, aunque su rentabilidad lineal fuese igual.

Artículo basado en el libro De ahorrador a Inversor

HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_articulos_premios where id_articulo=3208758 and 1 order by orden asc, id desc
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select pie as titulo, id_articulo_archivo from cms_articulos_archivos where id_articulo=3208758 order by orden asc
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_tags where nombre = 'Corto plazo' limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_tags where nombre = 'Libre' limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_tags where nombre = 'Corto plazo' limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select id_articulo, titulo as titulo from cms_articulos where id_articulo<3208758 and supervisado=1 and (id_categoria=1 or id_categoria_2=1) order by id_articulo desc limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select id_articulo, titulo from cms_articulos where id_articulo>3208758 and supervisado=1 and (id_categoria=1 or id_categoria_2=1) order by id_articulo asc limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'nativo' and visible_en in (0,2,7) and (hora_inicio<='14:50:10' or hora_inicio='00:00:00') and (hora_fin>='14:50:10' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,22,23,24,21,87,88,89) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_articulos_videos_seguimientos where id_articulo=3208758 and id_articulo > 0

HERRAMIENTAS

HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_articulos_videos_seguimientos where id_articulo=0 and id_articulo > 0
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'roba' and visible_en in (0,1,7) and (hora_inicio<='14:50:10' or hora_inicio='00:00:00') and (hora_fin>='14:50:10' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,22,23,24,21,87,88,89) order by prioridad desc, posicion asc, RAND() limit 1

Cargando...

VALOR PRECIO VARIACIÓN
Cargando...
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'roba' and visible_en in (0,1,7) and (hora_inicio<='14:50:10' or hora_inicio='00:00:00') and (hora_fin>='14:50:10' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,22,23,24,21,87,88,89,20) order by prioridad desc, posicion asc, RAND() limit 1

PREMIUM HOY

    HA LLEGADO A LA CREACIÓN DEL REGISTRO: select dispone_de_contenido from cms_portadas_edicionv2 where id_portada_edicion=1
    HA LLEGADO A LA CREACIÓN DEL REGISTRO: select cms_articulos.id_articulo, cms_articulos.titulo, cms_articulos.id_categoria, cms_articulos.friendly_url, cms_articulos.friendly_url_categoria, cms_articulos.autor, pe.nombre as edicion from cms_portadas_edicionv2_articulos FORCE INDEX (cms_portadas_id_portada_edicion_id_portada_edicion_articulo) inner join cms_articulos FORCE INDEX (PRIMARY) on cms_portadas_edicionv2_articulos.id_articulo = cms_articulos.id_articulo left join cms_portadas_edicionv2 pe FORCE INDEX (cms_portadas_edicionv2_id_portada_edicion_nombre) on pe.id_portada_edicion = cms_articulos.id_categoria where cms_articulos.supervisado=1 and cms_portadas_edicionv2_articulos.id_portada_edicion=1 and cms_articulos.fecha <= DATE_SUB(NOW(), INTERVAL 3 HOUR) and cms_articulos.id_categoria not in (0) group by cms_portadas_edicionv2_articulos.id_articulo order by cms_portadas_edicionv2_articulos.id_portada_edicion_articulo asc limit 3
    HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT p.friendly_url AS friendly_url, p.id_importacion AS id_importacion, p.id_portada_padre AS id_portada_padre, per.dominio AS dominio, per.dominio_staging AS dominio_staging FROM cms_portadas_edicionv2 AS p FORCE INDEX (cms_portadas_edicionv2_id_portada_edicion_id_periodico) LEFT JOIN cms_periodicos AS per FORCE INDEX (cms_periodicos_id_periodico_dominio) ON p.id_periodico = per.id_periodico WHERE p.id_portada_edicion = 40;
    HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url, id_portada_padre from cms_portadas_edicionv2 where id_portada_edicion=38
    HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url from cms_portadas_edicionv2 where id_portada_edicion=22
  • 1
    Pharmamar se desangra tras anunciar que el ensayo fase III LAGOON con lurbinectedina no alcanza su objetivo principal de supervivencia global

  • HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT p.friendly_url AS friendly_url, p.id_importacion AS id_importacion, p.id_portada_padre AS id_portada_padre, per.dominio AS dominio, per.dominio_staging AS dominio_staging FROM cms_portadas_edicionv2 AS p FORCE INDEX (cms_portadas_edicionv2_id_portada_edicion_id_periodico) LEFT JOIN cms_periodicos AS per FORCE INDEX (cms_periodicos_id_periodico_dominio) ON p.id_periodico = per.id_periodico WHERE p.id_portada_edicion = 49;
    HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url, id_portada_padre from cms_portadas_edicionv2 where id_portada_edicion=48
    HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url from cms_portadas_edicionv2 where id_portada_edicion=46
  • 2
    Christine Lagarde apoya subida de tipos tras acuerdo de Trump e Irán sobre estrecho de Ormuz

  • HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT p.friendly_url AS friendly_url, p.id_importacion AS id_importacion, p.id_portada_padre AS id_portada_padre, per.dominio AS dominio, per.dominio_staging AS dominio_staging FROM cms_portadas_edicionv2 AS p FORCE INDEX (cms_portadas_edicionv2_id_portada_edicion_id_periodico) LEFT JOIN cms_periodicos AS per FORCE INDEX (cms_periodicos_id_periodico_dominio) ON p.id_periodico = per.id_periodico WHERE p.id_portada_edicion = 41;
    HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url, id_portada_padre from cms_portadas_edicionv2 where id_portada_edicion=38
    HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url from cms_portadas_edicionv2 where id_portada_edicion=22
  • 3
    Anthropic: será la primera de las macrosalidas a bolsa en Wall Street este año

LO MÁS VISTO

    HA LLEGADO A LA CREACIÓN DEL REGISTRO: select dispone_de_contenido from cms_portadas_edicionv2 where id_portada_edicion=1
    HA LLEGADO A LA CREACIÓN DEL REGISTRO: select cms_articulos.id_articulo,cms_articulos.visitas,cms_articulos.titulo, cms_articulos.id_categoria, cms_articulos.friendly_url, cms_articulos.friendly_url_categoria, cms_articulos.autor, (select nombre from cms_portadas_edicionv2 where id_portada_edicion = cms_articulos.id_categoria) as edicion from cms_portadas_edicionv2_articulos left join cms_articulos on cms_portadas_edicionv2_articulos.id_articulo = cms_articulos.id_articulo where cms_portadas_edicionv2_articulos.id_portada_edicion <> 11 and cms_articulos.supervisado=1 and cms_portadas_edicionv2_articulos.id_portada_edicion=1 and cms_articulos.fecha <= DATE_SUB(NOW(), INTERVAL 3 HOUR) and (cms_articulos.id_categoria<>11 and cms_articulos.id_categoria_2<>11 and cms_articulos.id_categoria_3<>11) group by cms_portadas_edicionv2_articulos.id_articulo order by cms_articulos.visitas desc limit 3
    HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT p.friendly_url AS friendly_url, p.id_importacion AS id_importacion, p.id_portada_padre AS id_portada_padre, per.dominio AS dominio, per.dominio_staging AS dominio_staging FROM cms_portadas_edicionv2 AS p FORCE INDEX (cms_portadas_edicionv2_id_portada_edicion_id_periodico) LEFT JOIN cms_periodicos AS per FORCE INDEX (cms_periodicos_id_periodico_dominio) ON p.id_periodico = per.id_periodico WHERE p.id_portada_edicion = 40;
    HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url, id_portada_padre from cms_portadas_edicionv2 where id_portada_edicion=38
    HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url from cms_portadas_edicionv2 where id_portada_edicion=22
  • 1
    HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT * FROM cms_articulos_imagenes WHERE id_articulo = 4286020 limit 1
    ¿Dónde invertir en el Ibex 35 y la bolsa española tras el fin del conflicto en Oriente Medio? ¿Dónde invertir en el Ibex 35 y la bolsa española tras el fin del conflicto en Oriente Medio?

  • HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT p.friendly_url AS friendly_url, p.id_importacion AS id_importacion, p.id_portada_padre AS id_portada_padre, per.dominio AS dominio, per.dominio_staging AS dominio_staging FROM cms_portadas_edicionv2 AS p FORCE INDEX (cms_portadas_edicionv2_id_portada_edicion_id_periodico) LEFT JOIN cms_periodicos AS per FORCE INDEX (cms_periodicos_id_periodico_dominio) ON p.id_periodico = per.id_periodico WHERE p.id_portada_edicion = 41;
    HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url, id_portada_padre from cms_portadas_edicionv2 where id_portada_edicion=38
    HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url from cms_portadas_edicionv2 where id_portada_edicion=22
  • 2
    HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT * FROM cms_articulos_imagenes WHERE id_articulo = 3672823 limit 1
    Dow Jones lanza el rebote con Irán y la temporada de resultados bajo los focos Dow Jones lanza el rebote con Irán y la temporada de resultados bajo los focos

  • HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT p.friendly_url AS friendly_url, p.id_importacion AS id_importacion, p.id_portada_padre AS id_portada_padre, per.dominio AS dominio, per.dominio_staging AS dominio_staging FROM cms_portadas_edicionv2 AS p FORCE INDEX (cms_portadas_edicionv2_id_portada_edicion_id_periodico) LEFT JOIN cms_periodicos AS per FORCE INDEX (cms_periodicos_id_periodico_dominio) ON p.id_periodico = per.id_periodico WHERE p.id_portada_edicion = 154;
    HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url, id_portada_padre from cms_portadas_edicionv2 where id_portada_edicion=153
  • 3
    HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT * FROM cms_articulos_imagenes WHERE id_articulo = 3511117 limit 1
    Dos alcistas y dos bajistas en el mercado europeo y estadounidense Dos alcistas y dos bajistas en el mercado europeo y estadounidense

HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'roba' and visible_en in (0,1,7) and (hora_inicio<='14:50:11' or hora_inicio='00:00:00') and (hora_fin>='14:50:11' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,22,23,24,21,87,88,89,20,29) order by prioridad desc, posicion asc, RAND() limit 1

LO ULTIMO

    HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT dispone_de_contenido FROM cms_portadas_edicionv2 WHERE id_portada_edicion=1
    HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT a.id_articulo, a.titulo, a.id_categoria, a.friendly_url, a.friendly_url_categoria, a.autor, pe.nombre AS edicion FROM cms_portadas_edicionv2_articulos pa FORCE INDEX (cms_portadas_id_portada_edicion_id_portada_edicion_articulo) INNER JOIN cms_articulos a ON pa.id_articulo = a.id_articulo LEFT JOIN cms_portadas_edicionv2 pe FORCE INDEX (cms_portadas_edicionv2_id_portada_edicion_nombre) ON pe.id_portada_edicion = a.id_categoria WHERE pa.id_portada_edicion <> 11 AND a.supervisado = 1 AND pa.id_portada_edicion = 1 AND a.fecha <= DATE_SUB(NOW(), INTERVAL 3 HOUR) AND a.id_categoria <> 11 AND a.id_categoria_2 <> 11 AND a.id_categoria_3 <> 11 GROUP BY pa.id_articulo ORDER BY pa.id_portada_edicion_articulo ASC LIMIT 5
    HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT p.friendly_url AS friendly_url, p.id_importacion AS id_importacion, p.id_portada_padre AS id_portada_padre, per.dominio AS dominio, per.dominio_staging AS dominio_staging FROM cms_portadas_edicionv2 AS p FORCE INDEX (cms_portadas_edicionv2_id_portada_edicion_id_periodico) LEFT JOIN cms_periodicos AS per FORCE INDEX (cms_periodicos_id_periodico_dominio) ON p.id_periodico = per.id_periodico WHERE p.id_portada_edicion = 40;
    HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url, id_portada_padre from cms_portadas_edicionv2 where id_portada_edicion=38
    HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url from cms_portadas_edicionv2 where id_portada_edicion=22
  • 1
    HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT * FROM cms_articulos_imagenes WHERE id_articulo = 4133163 limit 1
    Una de las acciones de moda del Ibex 35: en máximos y con potencial de doble dígito Una de las acciones de moda del Ibex 35: en máximos y con potencial de doble dígito

  • HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT p.friendly_url AS friendly_url, p.id_importacion AS id_importacion, p.id_portada_padre AS id_portada_padre, per.dominio AS dominio, per.dominio_staging AS dominio_staging FROM cms_portadas_edicionv2 AS p FORCE INDEX (cms_portadas_edicionv2_id_portada_edicion_id_periodico) LEFT JOIN cms_periodicos AS per FORCE INDEX (cms_periodicos_id_periodico_dominio) ON p.id_periodico = per.id_periodico WHERE p.id_portada_edicion = 49;
    HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url, id_portada_padre from cms_portadas_edicionv2 where id_portada_edicion=48
    HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url from cms_portadas_edicionv2 where id_portada_edicion=46
  • 2
    HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT * FROM cms_articulos_imagenes WHERE id_articulo = 4283925 limit 1
    Christine Lagarde apoya subida de tipos tras acuerdo de Trump e Irán sobre estrecho de Ormuz Christine Lagarde apoya subida de tipos tras acuerdo de Trump e Irán sobre estrecho de Ormuz

  • HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT p.friendly_url AS friendly_url, p.id_importacion AS id_importacion, p.id_portada_padre AS id_portada_padre, per.dominio AS dominio, per.dominio_staging AS dominio_staging FROM cms_portadas_edicionv2 AS p FORCE INDEX (cms_portadas_edicionv2_id_portada_edicion_id_periodico) LEFT JOIN cms_periodicos AS per FORCE INDEX (cms_periodicos_id_periodico_dominio) ON p.id_periodico = per.id_periodico WHERE p.id_portada_edicion = 41;
    HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url, id_portada_padre from cms_portadas_edicionv2 where id_portada_edicion=38
    HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url from cms_portadas_edicionv2 where id_portada_edicion=22
  • 3
    HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT * FROM cms_articulos_imagenes WHERE id_articulo = 4093231 limit 1
    Anthropic: será la primera de las macrosalidas a bolsa en Wall Street este año Anthropic: será la primera de las macrosalidas a bolsa en Wall Street este año

  • HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT p.friendly_url AS friendly_url, p.id_importacion AS id_importacion, p.id_portada_padre AS id_portada_padre, per.dominio AS dominio, per.dominio_staging AS dominio_staging FROM cms_portadas_edicionv2 AS p FORCE INDEX (cms_portadas_edicionv2_id_portada_edicion_id_periodico) LEFT JOIN cms_periodicos AS per FORCE INDEX (cms_periodicos_id_periodico_dominio) ON p.id_periodico = per.id_periodico WHERE p.id_portada_edicion = 40;
    HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url, id_portada_padre from cms_portadas_edicionv2 where id_portada_edicion=38
    HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url from cms_portadas_edicionv2 where id_portada_edicion=22
  • 4
    HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT * FROM cms_articulos_imagenes WHERE id_articulo = 4283654 limit 1
    Pharmamar se desangra tras anunciar que el ensayo fase III LAGOON con lurbinectedina no alcanza su objetivo principal de supervivencia global Pharmamar se desangra tras anunciar que el ensayo fase III LAGOON con lurbinectedina no alcanza su objetivo principal de supervivencia global

  • HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT p.friendly_url AS friendly_url, p.id_importacion AS id_importacion, p.id_portada_padre AS id_portada_padre, per.dominio AS dominio, per.dominio_staging AS dominio_staging FROM cms_portadas_edicionv2 AS p FORCE INDEX (cms_portadas_edicionv2_id_portada_edicion_id_periodico) LEFT JOIN cms_periodicos AS per FORCE INDEX (cms_periodicos_id_periodico_dominio) ON p.id_periodico = per.id_periodico WHERE p.id_portada_edicion = 40;
    HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url, id_portada_padre from cms_portadas_edicionv2 where id_portada_edicion=38
    HA LLEGADO A LA CREACIÓN DEL REGISTRO: select friendly_url from cms_portadas_edicionv2 where id_portada_edicion=22
  • 5
    HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT * FROM cms_articulos_imagenes WHERE id_articulo = 4285884 limit 1
    Los tres mejores valores del Ibex 35 por Precio Valor Contable Los tres mejores valores del Ibex 35 por Precio Valor Contable

LA BOLSA HOY

Ver más
HA LLEGADO A LA CREACIÓN DEL REGISTRO: SELECT a.*, pe.nombre AS categoria_name, pe.friendly_url AS categoria_friendly_url, b.nombre AS autor_name FROM ( SELECT id_articulo, MAX(fecha) AS fecha_orden FROM ( (SELECT id_articulo, fecha FROM cms_articulos a FORCE INDEX (cms_articulos_tipo_articulo_fecha) WHERE a.tipo_articulo = 19 ORDER BY a.fecha DESC LIMIT 5) UNION ALL (SELECT id_articulo, fecha FROM cms_articulos a FORCE INDEX (cms_articulos_tipo_articulo_id_categoria) WHERE a.tipo_articulo = 11 AND a.id_categoria IN (22,32,40,41,42,44,47,49,50,52,65,66,67,68,73,74,154,159,164,165,166,167,168,169,174,175,176,178,179,180,181,182,183,184,185) ORDER BY a.fecha DESC LIMIT 5) UNION ALL (SELECT id_articulo, fecha FROM cms_articulos a FORCE INDEX (cms_articulos_tipo_articulo_id_categoria_2) WHERE a.tipo_articulo = 11 AND a.id_categoria_2 IN (22,32,40,41,42,44,47,49,50,52,65,66,67,68,73,74,154,159,164,165,166,167,168,169,174,175,176,178,179,180,181,182,183,184,185) ORDER BY a.fecha DESC LIMIT 5) UNION ALL (SELECT id_articulo, fecha FROM cms_articulos a FORCE INDEX (cms_articulos_tipo_articulo_id_categoria_3) WHERE a.tipo_articulo = 11 AND a.id_categoria_3 IN (22,32,40,41,42,44,47,49,50,52,65,66,67,68,73,74,154,159,164,165,166,167,168,169,174,175,176,178,179,180,181,182,183,184,185) ORDER BY a.fecha DESC LIMIT 5) ) AS sub_ids GROUP BY id_articulo ORDER BY fecha_orden DESC LIMIT 5 ) AS filter_ids INNER JOIN cms_articulos a ON a.id_articulo = filter_ids.id_articulo LEFT JOIN cms_portadas_edicionv2 pe FORCE INDEX (cms_portadas_edicionv2_id_portada_edicion_nombre) ON pe.id_portada_edicion = a.id_categoria LEFT JOIN cms_blogs b FORCE INDEX (cms_blogs_id_blog_nombre) ON b.id_blog = a.firma_como_ai ORDER BY filter_ids.fecha_orden DESC
09:45
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_articulos_imagenes where id_articulo=4283798 order by orden asc limit 1
La bolsa hoy en directo Técnicas Reunidas gana dos grandes proyectos en Oriente Medio Ismael Abdelkhalek
09:35
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_articulos_imagenes where id_articulo=4283764 order by orden asc limit 1
Irán y EEUU alcanzan un acuerdo para detener la guerra y reabrir el estrecho de Ormuz La bolsa hoy en directo Irán y EEUU alcanzan un acuerdo para detener la guerra y reabrir el estrecho de Ormuz Ismael Abdelkhalek
09:25
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_articulos_imagenes where id_articulo=4283746 order by orden asc limit 1
La bolsa hoy en directo El precio del petróleo cae 4 dólares tras el acuerdo entre EEUU e Irán Ismael Abdelkhalek
13:48
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_articulos_imagenes where id_articulo=4024479 order by orden asc limit 1
El S&P 500 va camino de cerrar su novena semana consecutiva al alza, su racha alcista más larga desde 2023 La bolsa hoy en directo El S&P 500 va camino de cerrar su novena semana consecutiva al alza, su racha alcista más larga desde 2023 Ismael Abdelkhalek
13:45
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_articulos_imagenes where id_articulo=4024385 order by orden asc limit 1
El S&P 500 cerró ayer en otro máximo histórico, el 20º del año La bolsa hoy en directo El S&P 500 cerró ayer en otro máximo histórico, el 20º del año Ismael Abdelkhalek
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'roba' and visible_en in (0,1,7) and (hora_inicio<='14:50:11' or hora_inicio='00:00:00') and (hora_fin>='14:50:11' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,22,23,24,21,87,88,89,20,29,30) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'mega' and visible_en in (0,2,7) and (hora_inicio<='14:50:11' or hora_inicio='00:00:00') and (hora_fin>='14:50:11' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,22,23,24,21,87,88,89,20,29,30,31) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_urgentes where activo and 1 in (select id_portada from cms_urgentes_portadas where id_urgente=cms_urgentes.id_urgente) order by fecha_ultima desc limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'mega' and visible_en in (0,2,7) and (hora_inicio<='14:50:12' or hora_inicio='00:00:00') and (hora_fin>='14:50:12' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'roba' and visible_en in (0,2,7) and (hora_inicio<='14:50:12' or hora_inicio='00:00:00') and (hora_fin>='14:50:12' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'roba' and visible_en in (0,2,7) and (hora_inicio<='14:50:12' or hora_inicio='00:00:00') and (hora_fin>='14:50:12' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'roba' and visible_en in (0,2,7) and (hora_inicio<='14:50:12' or hora_inicio='00:00:00') and (hora_fin>='14:50:12' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'roba' and visible_en in (0,2,7) and (hora_inicio<='14:50:12' or hora_inicio='00:00:00') and (hora_fin>='14:50:12' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'roba' and visible_en in (0,2,7) and (hora_inicio<='14:50:12' or hora_inicio='00:00:00') and (hora_fin>='14:50:12' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='14:50:12' or hora_inicio='00:00:00') and (hora_fin>='14:50:12' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='14:50:12' or hora_inicio='00:00:00') and (hora_fin>='14:50:12' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='14:50:12' or hora_inicio='00:00:00') and (hora_fin>='14:50:12' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='14:50:12' or hora_inicio='00:00:00') and (hora_fin>='14:50:12' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='14:50:12' or hora_inicio='00:00:00') and (hora_fin>='14:50:12' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='14:50:12' or hora_inicio='00:00:00') and (hora_fin>='14:50:12' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'intext' and visible_en in (0,2,7) and (hora_inicio<='14:50:12' or hora_inicio='00:00:00') and (hora_fin>='14:50:12' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'sky' and visible_en in (0,2,7) and (hora_inicio<='14:50:12' or hora_inicio='00:00:00') and (hora_fin>='14:50:12' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'sky' and visible_en in (0,2,7) and (hora_inicio<='14:50:12' or hora_inicio='00:00:00') and (hora_fin>='14:50:12' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'nativo' and visible_en in (0,2,7) and (hora_inicio<='14:50:12' or hora_inicio='00:00:00') and (hora_fin>='14:50:12' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='14:50:12' or hora_inicio='00:00:00') and (hora_fin>='14:50:12' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='14:50:12' or hora_inicio='00:00:00') and (hora_fin>='14:50:12' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='14:50:12' or hora_inicio='00:00:00') and (hora_fin>='14:50:12' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='14:50:12' or hora_inicio='00:00:00') and (hora_fin>='14:50:12' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='14:50:12' or hora_inicio='00:00:00') and (hora_fin>='14:50:12' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='14:50:12' or hora_inicio='00:00:00') and (hora_fin>='14:50:12' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='14:50:12' or hora_inicio='00:00:00') and (hora_fin>='14:50:12' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='14:50:12' or hora_inicio='00:00:00') and (hora_fin>='14:50:12' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='14:50:12' or hora_inicio='00:00:00') and (hora_fin>='14:50:12' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23) order by prioridad desc, posicion asc, RAND() limit 1
HA LLEGADO A LA CREACIÓN DEL REGISTRO: select * from cms_banners where activo and tipo = 'oculto' and visible_en in (0,2,7) and (hora_inicio<='14:50:12' or hora_inicio='00:00:00') and (hora_fin>='14:50:12' or hora_fin='00:00:00') and (select count(*) from cms_banners_portadas where id_banner=cms_banners.id_banner and id_portada=1)>0 and id_banner not in (0,21,20,29,30,31,32,87,88,89,22,23) order by prioridad desc, posicion asc, RAND() limit 1