亚马逊股票(NASDAQ:AMZN)是投资者密切关注的一只股票,它通常被视为增长型股票的领导者。以下是亚马逊股票的实时行情:
(function() {var script = document.createElement('script');script.src = 'https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/latest/currencies/usd/cny.json';document.head.appendChild(script);script.onload = function() {var data = JSON.parse(script.innerHTML);var rate = data.cny;var stockQuote = document.getElementById('stock-quote');var xhr = new XMLHttpRequest();xhr.open('GET', 'https://query1.finance.yahoo.com/v7/finance/quote?symbols=AMZN', true);xhr.onload = function() {if (xhr.status === 200) {var response = JSON.parse(xhr.responseText);var quote = response.quoteResponse.result[0];var price = quote.regularMarketPrice;var change = quote.regularMarketChange.fmt;var changePercent = quote.regularMarketChangePercent.fmt;stockQuote.innerHTML = `当前股价: ${price} 美元
`;stockQuote.innerHTML += `涨跌幅: ${change} 美元 (${changePercent})
`;stockQuote.innerHTML += `收盘价(前一日): ${quote.regularMarketPreviousClose} 美元
`;stockQuote.innerHTML += `开盘价: ${quote.regularMarketOpen} 美元
`;stockQuote.innerHTML += `最高价: ${quote.regularMarketDayHigh} 美元
`;stockQuote.innerHTML += `标签: 亚马逊股票股价实时行情
版权声明:除非特别标注,否则均为本站转摘于网络,转载时请以链接形式注明文章出处。