At Yahoo Finance, you get free stock quotes, up-to-date news, portfolio management resources, international market data, social interaction and mortgage rates that help you manage your financial life.
# 导入 efinance 库importefinanceasef# 股票代码stock_code='AAPL'# 获取股票日 K 线数据df=ef.stock.get_quote_history(stock_code)df # 导入 efinance 库importefinanceasef# 股票名称stock_name='腾讯'# 获取股票日 K 线数据df=ef.stock.get_quote_history(stock_name)df 在VS Code 的 jupyter 里面运行...
代码语言:javascript 复制 'use strict';constpuppeteer=require('puppeteer');constgetStockLastPrice=async(symbol)=>{constbrowser=awaitpuppeteer.launch({args:["--no-sandbox"]});constpage=awaitbrowser.newPage();constnavigationPromise=page.waitForNavigation({waitUntil:"domcontentloaded"});awaitpage.setUserA...
DataStartTime 00:00:00 -05:00 DataEndTime 24:00:00 -05:00 LoadEndTime 24:00:00 -05:00 LoadOnSaturday 1, loading Friday's data once. LoadOnSunday 1, loading Friday's data once. Data Source The Yahoo! Finance website. Example: https://finance.yahoo.com/quote/AAPL?p=AAPLContents...
from financetoolkit import Toolkit toolkit = Toolkit(["TSLA", "AAPL"], api_key="FINANCIAL_MODELING_PREP_KEY") toolkit.get_quote() Which returns: TSLAAAPL Symbol TSLA AAPL Name Tesla, Inc. Apple Inc. Price 215.49 174.49 Changes Percentage -1.7015 0.2816 Change -3.73 0.49 Day Low 212.36 171....
ef.stock.get_quote_history('AAPL') ef.stock.get_quote_history('微软') ef.stock.get_quote_history('腾讯') 获取ETF K 线数据,以中概互联网 ETF 为例说明 ef.stock.get_quote_history('513050') 沪深市场 A 股最新状况 ef.stock.get_realtime_quotes() 股票龙虎榜 ef.stock.get_daily_billboar...
-1 0 1 2 >= 3 largest companies in this sector view more table table view heatmap heatmap view name last price 1y target est. market weight market cap day change % ytd return avg. analyst rating aapl apple inc. 234.95 240.42 18.61% 3.551t -0.05% +22.03% buy nvda nvidia corporation...
United Status US morningstar.com https://www.morningstar.com/stocks/xnas/aapl/quote YES United Status US zacks.com https://www.zacks.com/stock/quote/aapl YES United Status US marketbeat.com https://www.marketbeat.com/stocks/NASDAQ/AAPL YES Asia HK (HKEX) hkex.com https://www.hkex.com...
{symbol:'AAPL',from:'2012-01-01',to:'2012-12-31',// period: 'd' // 'd' (daily), 'w' (weekly), 'm' (monthly), 'v' (dividends only)},function(err,quotes){//...});// This replaces the deprecated snapshot() APIyahooFinance.quote({symbol:'AAPL',modules:['price','...
Apple Inc. (AAPL) is a heavily traded public company. Due to the extreme liquidity of AAPL stock, trading it is simple, and with very narrow bid-ask spreads. Just as an example, let's say AAPL closed at $165 a share. The day range might be $161 to $167, but at the end of th...