特发信息股票行情 (特发信息股票股吧)
访客
26
股票代码:300072
股票名称:特发信息
上市日期:2009-08-26
所属行业:软件开发
实时行情
最新价:
涨跌幅:
涨跌额:
开盘价:
最高价:
最低价:
成交量:
成交额:
历史行情
日期
|
开盘价
|
最高价
|
最低价
|
收盘价
|
成交量
|
成交额
|
---|
技术指标
主力资金
机构评级
新闻公告
// 获取实时行情数据fetch('https://api.finance.yahoo.com/v7/finance/quote?symbols=00072.SZ').then(response => response.json()).then(data => {const quote = data.quoteResponse.result[0];document.getElementById('current-price').innerHTML = quote.regularMarketPrice;document.getElementById('change-pct').innerHTML = quote.regularMarketChangePercent + '%';document.getElementById('change-value').innerHTML = quote.regularMarketChange;document.getElementById('open-price').innerHTML = quote.regularMarketOpen;document.getElementById('high-price').innerHTML = quote.regularMarketDayHigh;document.getElementById('low-price').innerHTML = quote.regularMarketDayLow;document.getElementById('volume').innerHTML = quote.regularMarketVolume;document.getElementById('turnover').innerHTML = quote.regularMarketVolume quote.regularMarketPrice;});// 获取历史行情数据fetch('https://api.finance.yahoo.com/v7/finance/historical?symbol=00072.SZ&period1=1587408000&period2=1622755200&interval=1d').then(response =>response.json()).then(data => {const prices = data.prices;for (let i = 0; i ${dateStr}
${openPrice} | ${highPrice} | ${lowPrice} | ${closePrice} | ${volume} | ${turnover} | `;document.getElementById('historical-prices').appendChild(row);}});// 获取技术指标数据fetch('https://api.finance.yahoo.com/v6/finance/quote?symbols=00072.SZ&fields=macd,kdj,rsi,bollingerBands').then(response =>response.json()).then(data => {const quote = data.quoteResponse.result[0];document.getElementById('macd').innerHTML = quote.indicators.quote[0].macd;document.getElementById('kdj').innerHTML = quote.indicators.quote[0].kdj;document.getElementById('rsi').innerHTML = quote.indicators.quote[0].rsi;document.getElementById('boll').innerHTML = quote.indicators.quote[0].bollingerBands;});// 获取主力资金数据fetch('https://api.finance.yahoo.com/v7/finance/options/00072.SZ').then(response => response.json()).then(data => {const options = data.optionChain.result[0].options[0];document.getElementById('inflows').innerHTML =options.inTheMoney.volume;document.getElementById('outflows').innerHTML = options.outTheMoney.volume;});// 获取机构评级数据fetch('https://api.finance.yahoo.com/v7/finance/recommendations?symbol=00072.SZ').then(response => response.json()).then(data => {const ratings = data.finance.result[0].analystRecommendations;for (let i = 0; i ${institution}
${rating} | `;document.getElementById('institutional-ratings').appendChild(row);}});// 获取新闻公告数据fetch('https://api.finance.yahoo.com/v7/finance/news?symbol=00072.SZ').then(response => response.json()).then(data => {const news = data.newsResponse.result.articles;for (let i = 0; i
版权声明:除非特别标注,否则均为本站转摘于网络,转载时请以链接形式注明文章出处。