哔哩哔哩股票中国代码 (哔哩哔哩股票价格实时行情)

访客 4 0

中国代码

哔哩哔哩在中国的股票代码为 9626。该代码可在上海证券交易所进行股票交易。

实时行情

以下是哔哩哔哩股票的实时行情,数据来自新浪财经:

指标 最新值 涨跌额 涨跌幅
当前价格
今日开盘
昨日收盘
最高价
最低价
成交量
成交额
// 获取实时行情数据(function () {// 使用 Ajax GET 请求获取数据const xhr = new XMLHttpRequest();xhr.open('GET', 'https://finance.sina.com.cn/realstock/company/09626/nc.shtml', true);xhr.onload = function() {if (xhr.status === 200) {// 解析响应数据const data = JSON.parse(xhr.responseText);const stockInfo = data.result[0];// 更新页面上的实时行情数据const currentPrice = document.getElementById('current-price');currentPrice.textContent = stockInfo.current;const changeAmount = document.getElementById('change-amount');changeAmount.textContent =stockInfo.change;const changePercent = document.getElementById('change-percent');changePercent.textContent = stockInfo.changePercent;const openPrice = document.getElementById('open-price');openPrice.textContent = stockInfo.open;const closePrice = document.getElementById('close-price');closePrice.textContent = stockInfo.preClose;const highPrice = document.getElementById('high-price');highPrice.textContent = stockInfo.high;const lowPrice = document.getElementById('low-price');lowPrice.textContent = stockInfo.low;const volume = document.getElementById('volume');volume.textContent = stockInfo.volume;const turnover = document.getElementById('turnover');turnover.textContent = stockInfo.amount;}};xhr.send();})();

抱歉,评论功能暂时关闭!