Valores Online
Ver los datos de mercado online
🇦🇷
elfinancierodigital.com
Resumen Económico y Financiero
sábado 27 de junio de 2026
Mercados Argentinos
Merval —
Riesgo País — pb
Cargando...
↻ Actualizar
Tipo de Cambio
Índices Locales
S&P Merval
—
—
Cargando...
Riesgo País · EMBI+ JP Morgan
—pb
—
Acciones Argentinas (BYMA · en ARS)
Bonos Soberanos en USD · Tiempo Real
Ley NY
Ley Argentina
Wall Street
Futuros EE.UU.
Materias Primas
ADRs Argentinos en Wall Street (en USD)
Criptomonedas
'+(s?'
'+s+'
':'')+'
'+(v||'—')+'
'+vt+'
';}
function cF(l){return'
';}
function cT(tick,nom,val,vp,pre){if(!val)return'
';var c=vp!=null?cls(vp):'neu';return'
'+tick+'
'+nom+'
'+(pre||'')+f(val,2)+'
'+( vp!=null?arr(vp)+pct(vp):'—')+'
';}
/* ── Yahoo: cola con delay 400ms entre requests ── */
var Q=[], RUN=false, CA={};
function qNext(){
if(RUN||!Q.length)return;
RUN=true;
var it=Q.shift();
if(CA[it.t]){it.ok(CA[it.t]);RUN=false;qNext();return;}
fetch(AJ+'?action=efdv6_yf&t='+encodeURIComponent(it.t))
.then(function(r){if(!r.ok)throw r.status;return r.json();})
.then(function(d){
if(!d.chart||!d.chart.result||!d.chart.result[0])throw'sin resultado';
var m=d.chart.result[0].meta;
var res={p:m.regularMarketPrice,q:m.chartPreviousClose||m.previousClose||null,o:m.regularMarketOpen||null,h:m.regularMarketDayHigh||null,l:m.regularMarketDayLow||null};
CA[it.t]=res; it.ok(res);
})
.catch(function(e){it.fail(e);})
.finally(function(){RUN=false;setTimeout(qNext,400);});
}
function yq(t){return new Promise(function(ok,fail){Q.push({t:t,ok:ok,fail:fail});qNext();});}
/* ── Carga por lotes con delay entre grupos ── */
function lotes(arr,fn,size,gap,render){
size=size||4; gap=gap||800;
var res=new Array(arr.length).fill(null);
function batch(i){
Promise.all(arr.slice(i,i+size).map(function(item,j){
return fn(item).then(function(r){return{i:i+j,r:r};}).catch(function(){return{i:i+j,r:null};});
})).then(function(chunk){
chunk.forEach(function(x){res[x.i]=x.r;});
render(res);
if(i+size
'+c.l+'
$'+f(it.venta,2)+'
Compra $'+f(it.compra,2)+'
'+c.n+'
';
}).join('');
var of=m['oficial'],bl=m['blue'];
var br=(of&&bl&&of.venta>0)?((bl.venta-of.venta)/of.venta*100):null;
html+='
Brecha Blue/Oficial
'+(br!=null?(br>=0?'+':'')+br.toFixed(1)+'%':'—')+'
'+(br!=null&&Math.abs(br)
';
document.getElementById('v6-dolar').innerHTML=html;
}).catch(function(){document.getElementById('v6-dolar').innerHTML=cF('No disponible');});
}
/* ══ MERVAL (ArgentinaDatos, sin proxy) ══ */
/* ══ MERVAL (Yahoo Finance via proxy) ══ */
function loadMerval(){
yq('^MERV').then(function(d){
var v=d.q?dv(d.p,d.q):null, c=v!=null?cls(v):'neu';
document.getElementById('v6-mv').textContent=f(d.p,0);
document.getElementById('v6-mv').className='v6merval '+c;
document.getElementById('v6-mvr').textContent=v!=null?arr(v)+pct(v):'—';
document.getElementById('v6-mvr').className='v6var '+c;
document.getElementById('v6-msub').textContent='Tiempo real · BYMA';
document.getElementById('v6-hm').textContent='Merval '+f(d.p,0)+(v!=null?' · '+(v>=0?'+':'')+v.toFixed(2)+'%':'');
document.getElementById('v6-hm').className='v6hrv '+c;
}).catch(function(){
document.getElementById('v6-mv').textContent='—';
document.getElementById('v6-msub').textContent='Sin datos';
});
}
/* ══ RIESGO PAÍS (ArgentinaDatos, sin proxy) ══ */
function loadRiesgo(){
fetch('https://api.argentinadatos.com/v1/finanzas/indices/riesgo-pais/ultimo')
.then(function(r){return r.json();})
.then(function(d){
var val=d.valor, c=val pb';
document.getElementById('v6-rp').className='v6riesgo '+c;
document.getElementById('v6-rpd').textContent=d.fecha?'📅 '+d.fecha.split('T')[0]:'';
document.getElementById('v6-hr').textContent='Riesgo País '+f(val,0)+' pb';
}).catch(function(){
document.getElementById('v6-rp').innerHTML='—
pb ';
});
}
/* ══ BYMA ══ */
var BYMA=[
{t:'GGAL.BA',n:'Galicia'},{t:'YPFD.BA',n:'YPF'},{t:'PAMP.BA',n:'Pampa'},
{t:'TXAR.BA',n:'Ternium'},{t:'BMA.BA',n:'Macro'},{t:'BBAR.BA',n:'BBVA Arg'},
{t:'CEPU.BA',n:'Central P.'},{t:'SUPV.BA',n:'Supervielle'},
{t:'CRES.BA',n:'Cresud'},{t:'EDN.BA',n:'Edenor'},
{t:'TGSU2.BA',n:'TGS'},{t:'VALO.BA',n:'Valo'},
{t:'MIRG.BA',n:'Mirgor'},{t:'LOMA.BA',n:'Loma Neg.'},
{t:'ALUA.BA',n:'Aluar'},{t:'COME.BA',n:'Soc. Com.'},
];
function loadByma(){
lotes(BYMA,function(a){return yq(a.t);},4,700,function(res){
document.getElementById('v6-byma').innerHTML=BYMA.map(function(a,i){
var r=res[i];
return cT(a.t.replace('.BA','').replace('YPFD','YPF'),a.n,r&&r.p,r?dv(r.p,r.q):null,'$');
}).join('');
});
}
/* ══ BONOS ══ */
var BONOS={
NY:[{t:'GD29.BA',n:'GD29'},{t:'GD30.BA',n:'GD30'},{t:'GD35.BA',n:'GD35'},{t:'GD38.BA',n:'GD38'},{t:'GD41.BA',n:'GD41'}],
AR:[{t:'AL29.BA',n:'AL29'},{t:'AL30.BA',n:'AL30'},{t:'AL35.BA',n:'AL35'},{t:'AE38.BA',n:'AE38'},{t:'AL41.BA',n:'AL41'}]
};
var bTab='NY', bCache={NY:null,AR:null};
function renderBonos(tab,data){
var el=document.getElementById('v6-bonos');
if(!data||!data.filter(function(x){return x&&x.p;}).length){
el.innerHTML='
Sin cotización disponible fuera del horario BYMA (11–17hs)
';
return;
}
el.innerHTML=BONOS[tab].map(function(b,i){
var r=data[i];
return cT(b.n,tab==='NY'?'Ley NY':'Ley Arg.',r&&r.p,r?dv(r.p,r.q):null,'$');
}).join('');
}
function loadBonos(tab){
if(bCache[tab]){renderBonos(tab,bCache[tab]);return;}
Promise.all(BONOS[tab].map(function(b){return yq(b.t).catch(function(){return null;});}))
.then(function(res){bCache[tab]=res;renderBonos(tab,res);});
}
window.v6BTab=function(tab,el){
bTab=tab;
document.querySelectorAll('.v6tab').forEach(function(t){t.classList.remove('on');});
el.classList.add('on');
loadBonos(tab);
};
/* ══ WALL STREET ══ */
var WS=[{t:'^DJI',l:'Dow Jones',s:'Wall Street'},{t:'^GSPC',l:'S&P 500',s:'Wall Street'},{t:'^NDX',l:'Nasdaq 100',s:'Wall Street'}];
function loadWS(){
Promise.all(WS.map(function(s){return yq(s.t).then(function(d){return{s:s,d:d};}).catch(function(){return{s:s,d:null};});}))
.then(function(res){
document.getElementById('v6-ws').innerHTML=res.map(function(r){
return r.d?cG(r.s.l,r.s.s,f(r.d.p,2),dv(r.d.p,r.d.q)):cF(r.s.l);
}).join('');
});
}
/* ══ FUTUROS ══ */
var FUT=[{t:'ES=F',l:'S&P 500 Fut.',s:'Futuros'},{t:'NQ=F',l:'Nasdaq Fut.',s:'Futuros'},{t:'YM=F',l:'Dow Jones Fut.',s:'Futuros'}];
function loadFut(){
Promise.all(FUT.map(function(s){return yq(s.t).then(function(d){return{s:s,d:d};}).catch(function(){return{s:s,d:null};});}))
.then(function(res){
document.getElementById('v6-fut').innerHTML=res.map(function(r){
return r.d?cG(r.s.l,r.s.s,f(r.d.p,2),dv(r.d.p,r.d.q)):cF(r.s.l);
}).join('');
});
}
/* ══ COMMODITIES ══ */
var COM=[{t:'CL=F',l:'Petróleo WTI',s:'USD/barril'},{t:'GC=F',l:'Oro',s:'USD/oz troy'},{t:'ZS=F',l:'Soja CBOT',s:'ctvs/bushel'}];
function loadCom(){
Promise.all(COM.map(function(s){return yq(s.t).then(function(d){return{s:s,d:d};}).catch(function(){return{s:s,d:null};});}))
.then(function(res){
document.getElementById('v6-com').innerHTML=res.map(function(r){
return r.d?cG(r.s.l,r.s.s,'USD '+f(r.d.p,2),dv(r.d.p,r.d.q)):cF(r.s.l);
}).join('');
});
}
/* ══ ADRs ══ */
var ADRS=[
{t:'PAM',n:'Pampa'},{t:'BMA',n:'Macro'},{t:'YPF',n:'YPF'},
{t:'BBAR',n:'BBVA Arg'},{t:'GGAL',n:'Galicia'},{t:'EDN',n:'Edenor'},
{t:'TGS',n:'TGS'},{t:'SUPV',n:'Supervielle'},{t:'CRESY',n:'Cresud'},
{t:'LOMA',n:'Loma Neg.'},{t:'TS',n:'Tenaris'},{t:'TX',n:'Ternium'},
];
function loadAdrs(){
lotes(ADRS,function(a){return yq(a.t);},4,700,function(res){
document.getElementById('v6-adrs').innerHTML=ADRS.map(function(a,i){
var r=res[i];
return cT(a.t,a.n,r&&r.p,r?dv(r.p,r.q):null,'USD ');
}).join('');
});
}
/* ══ CRIPTO (CoinGecko directo, sin proxy) ══ */
var CIDS='bitcoin,ethereum,solana,ripple,cardano,dogecoin,chainlink,uniswap,binancecoin';
var CL=[
{id:'bitcoin',l:'Bitcoin',s:'BTC'},{id:'ethereum',l:'Ethereum',s:'ETH'},
{id:'solana',l:'Solana',s:'SOL'},{id:'ripple',l:'XRP',s:'XRP'},
{id:'cardano',l:'Cardano',s:'ADA'},{id:'dogecoin',l:'Dogecoin',s:'DOGE'},
{id:'chainlink',l:'Chainlink',s:'LINK'},{id:'uniswap',l:'Uniswap',s:'UNI'},
{id:'binancecoin',l:'BNB',s:'BNB'},
];
function loadCripto(){
fetch('https://api.coingecko.com/api/v3/simple/price?ids='+CIDS+'&vs_currencies=usd&include_24hr_change=true')
.then(function(r){return r.json();})
.then(function(d){
document.getElementById('v6-cripto').innerHTML=CL.map(function(it){
var x=d[it.id];
return x?cG(it.l,it.s,'USD '+f(x.usd,x.usd>100?2:4),x.usd_24h_change||0):cF(it.l);
}).join('');
}).catch(function(){
document.getElementById('v6-cripto').innerHTML=CL.slice(0,3).map(function(it){return cF(it.l);}).join('');
});
}
/* ══ ORQUESTADOR ══
Orden de carga:
0ms → Dólar, Merval, Riesgo País, Cripto (no usan la cola Yahoo)
500ms → Wall Street (3 tickers)
2000ms → Futuros (3 tickers)
3500ms → Commodities (3 tickers)
5000ms → Bonos (5 tickers)
6500ms → BYMA lotes (16 tickers, interno con delays de 700ms)
10000ms → ADRs lotes (12 tickers, interno con delays de 700ms)
*/
window.efd6Load=function(){
CA={}; bCache={NY:null,AR:null};
document.getElementById('v6-ts').innerHTML='
Actualizando...';
loadDolar();
setTimeout(loadMerval, 200);
loadRiesgo();
loadCripto();
setTimeout(loadWS, 500);
setTimeout(loadFut, 2000);
setTimeout(loadCom, 3500);
setTimeout(function(){loadBonos(bTab);}, 5000);
setTimeout(loadByma, 6500);
setTimeout(loadAdrs, 10000);
setTimeout(function(){document.getElementById('v6-ts').textContent=hora();},15000);
};
efd6Load();
setInterval(efd6Load,5*60*1000);
})();