stocks56+ financial data tools via Yahoo Finance. Auto-routes stock prices, fundamentals, earnings, dividends, options, crypto, forex, commodities, news, and more.
Install via ClawdBot CLI:
clawdbot install lkcair/stocks56+ financial tools via Yahoo Finance. Prices, fundamentals, earnings, options, crypto, forex, commodities, news.
Please star Github if you like the skill.
Also available for OpenWebUI.
https://github.com/lkcair/yfinance-ai
Run from the skill directory:
python3 -m venv .venv
.venv/bin/python3 -m pip install -r requirements.txt
Windows: use.venv\Scripts\python3instead of.venv/bin/python3.
python3 might not use the correct interpreter if the venv is not activated, leading to ModuleNotFoundError. /home/openclaw/.openclaw/venv/stocks/bin/python3
pydantic for yfinance-ai) are installed within this specific venv using its associated pip command: /home/openclaw/.openclaw/venv/stocks/bin/pip install
/home/openclaw/.openclaw/venv/stocks/bin/python3 - << 'PY'
import asyncio, sys
sys.path.insert(0, '.')
from yfinance_ai import Tools
t = Tools()
async def main():
r = await t.get_key_ratios(ticker='UNH')
print(r)
asyncio.run(main())
PY
scripts/) and execute that script using the venv's Python interpreter.After setup, copy the template below into your agent's TOOLS.md (or whichever file your framework injects into every session). This is the single most important step — if the agent can see the invocation pattern, it will work every time.
Replace SKILL_DIR with the absolute path to this skill's directory (e.g. where scripts/ and .venv/ live).
`
# Stocks Skill
## Usagebash
cd SKILL_DIR/scripts && SKILL_DIR/.venv/bin/python3 -c "
import asyncio, sys
sys.path.insert(0, '.')
from yfinance_ai import Tools
t = Tools()
async def main():
result = await t.METHOD(ARGS)
print(result)
asyncio.run(main())
" 2>/dev/null
Replace METHOD(ARGS) with any call below. Suppress stderr (2>/dev/null) to hide warnings.
## Common Calls
| Need | Method |
|---|---|
| Stock price | `get_stock_price(ticker='AAPL')` |
| Key ratios (P/E, ROE, margins) | `get_key_ratios(ticker='AAPL')` |
| Company overview | `get_company_overview(ticker='AAPL')` |
| Full deep-dive | `get_complete_analysis(ticker='AAPL')` |
| Compare stocks | `compare_stocks(tickers='AAPL,MSFT,GOOGL')` |
| Crypto | `get_crypto_price(symbol='BTC')` |
| Forex | `get_forex_rate(pair='EURUSD')` |
| Commodities | `get_commodity_price(commodity='gold')` |
| News | `get_stock_news(ticker='AAPL')` |
| Market indices | `get_market_indices()` |
| Dividends | `get_dividends(ticker='AAPL')` |
| Earnings | `get_earnings_history(ticker='AAPL')` |
| Analyst recs | `get_analyst_recommendations(ticker='AAPL')` |
| Options chain | `get_options_chain(ticker='SPY')` |
| Market open/closed | `get_market_status()` |
## Routing
- Price / quote → `get_stock_price`
- Ratios / valuation → `get_key_ratios`
- "Tell me about" → `get_company_overview`
- Deep dive → `get_complete_analysis`
- Compare → `compare_stocks`
- Crypto → `get_crypto_price`
- Forex → `get_forex_rate`
- Commodities → `get_commodity_price`
- News → `get_stock_news``
See skill.json for the full list of 56+ functions, parameters, and trigger keywords. Categories:
get_stock_price, get_stock_quote, get_fast_info, get_historical_dataget_company_info, get_company_overview, get_company_officersget_income_statement, get_balance_sheet, get_cash_flow, get_key_ratios, get_financial_summaryget_earnings_history, get_earnings_dates, get_analyst_estimates, get_eps_trendget_analyst_recommendations, get_analyst_price_targets, get_upgrades_downgradesget_institutional_holders, get_insider_transactions, get_major_holdersget_dividends, get_stock_splits, get_corporate_actionsget_options_chain, get_options_expirationsget_market_indices, get_sector_performance, get_market_statusget_crypto_price, get_forex_rate, get_commodity_pricecompare_stocks, get_peer_comparison, get_historical_comparisonget_stock_news, get_sec_filingssearch_ticker, validate_ticker, run_self_testasyncio.run() wrapper handles this.Generated Mar 1, 2026
Retail investors can use this skill to quickly fetch stock prices, key financial ratios, and company overviews for individual stocks like AAPL or MSFT. It helps them make informed decisions by providing fundamentals, earnings history, and analyst recommendations without manual data gathering.
Small business owners can analyze market trends, compare competitors, and monitor forex or commodity prices relevant to their operations. For example, they might use it to track gold prices for inventory valuation or compare peer companies in their sector for strategic planning.
Finance students can utilize this skill to pull real-time financial data, such as income statements, balance sheets, and options chains, for hands-on learning in courses. It supports practical exercises in valuation, market analysis, and portfolio management using actual data from Yahoo Finance.
Financial advisors can leverage this skill to generate comprehensive analyses for client portfolios, including stock comparisons, dividend histories, and market indices. It streamlines client reporting by automating data retrieval for multiple assets like stocks, crypto, and commodities.
Journalists covering financial markets can use this skill to fetch stock news, SEC filings, and market status updates for timely reporting. It aids in tracking breaking news on specific companies or sectors, enhancing article accuracy with up-to-date financial data.
Offer this skill as part of a paid API service where users pay a monthly fee for access to enhanced financial data tools and premium support. Revenue is generated through tiered subscriptions based on usage limits or advanced features like historical data analysis.
Provide basic functionality for free, such as stock prices and company overviews, while charging for advanced features like complete analyses, bulk data exports, or real-time alerts. This attracts a large user base and converts a portion to paying customers.
License the skill to financial software platforms, trading apps, or educational tools as an embedded data module. Revenue comes from licensing fees or revenue-sharing agreements based on user engagement within partner ecosystems.
💬 Integration Tip
Always use the full path to the skill's virtual environment Python interpreter to avoid ModuleNotFoundError, and suppress stderr with 2>/dev/null to hide warnings in agent executions.
Analyze stocks and cryptocurrencies using Yahoo Finance data. Supports portfolio management, watchlists with alerts, dividend analysis, 8-dimension stock scoring, viral trend detection (Hot Scanner), and rumor/early signal detection. Use for stock analysis, portfolio tracking, earnings reactions, crypto monitoring, trending stocks, or finding rumors before they hit mainstream.
Get stock prices, quotes, fundamentals, earnings, options, dividends, and analyst ratings using Yahoo Finance. Uses yfinance library - no API key required.
Yahoo Finance (yfinance) powered stock analysis skill: quotes, fundamentals, ASCII trends, high-resolution charts (RSI/MACD/BB/VWAP/ATR), plus optional web a...
Become an autonomous prediction market trader on Polymarket with AI-powered analysis and a performance-backed token on Base. Trade real markets, build a track record, and let the buyback flywheel run.
Get cryptocurrency token price and generate candlestick charts via CoinGecko API or Hyperliquid API. Use when user asks for token price, crypto price, price chart, or cryptocurrency market data.
Trade and monitor Hyperliquid perpetual futures. Check balances, view positions with P&L, place/cancel orders, execute market trades. Use when the user asks about Hyperliquid trading, portfolio status, crypto positions, or wants to execute trades on Hyperliquid.