以下为吉利汽车控股有限公司 (600791) 在上海证券交易所的实时股价信息:
指标
|
数值
|
---|
最新价
|
正在加载...
|
涨跌幅
|
正在加载...
|
涨跌额
|
正在加载...
|
开盘价
|
正在加载...
|
最高价
|
正在加载...
|
最低价
|
正在加载...
|
成交量
|
正在加载...
|
成交额
|
正在加载...
|
(function () {const stockPriceElement = document.getElementById('stock-price');const stockChangeElement = document.getElementById('stock-change');const stockAmountElement = document.getElementById('stock-amount');const stockOpenElement = document.getElementById('stock-open');const stockHighElement = document.getElementById('stock-high');const stockLowElement = document.getElementById('stock-low');const stockVolumeElement = document.getElementById('stock-volume');const stockTurnoverElement = document.getElementById('stock-turnover');const request = new XMLHttpRequest();request.open('GET', 'https://hq.sinajs.cn/rn=1667548965301&list=sh600791');request.onload = function() {if (request.status === 200) {const data = request.responseText.split(',');stockPriceElement.textContent = data[3];stockChangeElement.textContent = `${data[30]}%`;stockAmountElement.textContent = data[31];stockOpenElement.textContent = data[1];stockHighElement.textContent = data[4];stockLowElement.textContent = data[5];stockVolumeElement.textContent = data[8];stockTurnoverElement.textContent = data[9];} else {alert('获取股价信息失败,请稍后再试。');}};request.send();})();
版权声明:除非特别标注,否则均为本站转摘于网络,转载时请以链接形式注明文章出处。