yfinance-data
Fetch financial and market data using the yfinance Python library. Use this skill whenever the user asks for stock prices, historical data, financial statements, options chains, dividends, earnings, analyst recommendations, or any market data. Triggers include: any mention of stock price, ticker symbol (AAPL, MSFT, TSLA, etc.), "get me the financials", "show earnings", "what's the price of", "download stock data", "options chain", "dividend history", "balance sheet", "income statement", "cash flow", "analyst targets", "institutional holders", "compare stocks", "screen for stocks", or any request involving Yahoo Finance data. Always use this skill even if the user only provides a ticker — infer intent from context.
Author
Category
Finance AnalysisInstall
Download and extract to your skills directory
Copy command and send to OpenClaw for auto-install:
yfinance-data — Retrieve Stock and Financial Market Data
Skill Overview
Use the Python
yfinance library to obtain market data from Yahoo Finance, including stock prices, historical data, financial statements, options chains, dividends, earnings, and more.Use Cases
Core Features
Frequently Asked Questions
Is yfinance an official API from Yahoo Finance?
No.
yfinance is an open-source Python project, not an official product from Yahoo Finance. The data is for research and educational purposes only and should not be used for real trading decision-making.Which markets’ stock data are supported?
yfinance mainly supports markets covered by Yahoo Finance, such as U.S. stocks and Hong Kong stocks. For A-shares, you can use Shanghai/Shenzhen stock codes (e.g., 600519.SS for Kweichow Moutai), but data completeness and real-time accuracy may vary.Are there any limitations on data retrieval?
High-frequency data has historical range limits: 1-minute-level data is available for roughly the most recent 7 days; 1-hour-level data is about 730 days. Also note Yahoo Finance’s access-rate limits—it's recommended to add exception handling in your code.