Install
openclaw skills install @lkcair/stocksStock, ETF, crypto, forex and commodity data from Yahoo Finance. Prices, history, fundamentals, TTM financials, ratios, valuation history, earnings and estimates, dividends, options, holders and insiders, news, market movers, sectors and industries, and earnings, IPO, economic and split calendars.
openclaw skills install @lkcair/stocks68 functions over Yahoo Finance (yfinance 1.7). Run them with one command; no Python to write.
GitHub (open source, also for OpenWebUI): https://github.com/lkcair/yfinance-ai
Also try SEC filings: openclaw skills install @lkcair/sec
Run once, and again after every install or update of this skill (updates replace the folder):
cd {baseDir} && python3 -m venv .venv && .venv/bin/python -m pip install -r requirements.txt
requirements.txt pins every dependency to an exact version with SHA-256 hashes (Python 3.10+). On Windows use .venv\Scripts\python instead of .venv/bin/python.
Always use this exact form:
{baseDir}/.venv/bin/python {baseDir}/scripts/cli.py <function> key=value key=value
{baseDir}/.venv/bin/python {baseDir}/scripts/cli.py list prints every function with its parameters. Only call functions from that list.query='bank of america'.Missing dependency, run Setup, then retry.| Need | Command |
|---|---|
| Price / quote | get_stock_price ticker=AAPL |
| "Tell me about X" | get_company_overview ticker=AAPL |
| Full deep-dive | get_complete_analysis ticker=AAPL |
| Ratios (P/E, margins, ROE) | get_key_ratios ticker=AAPL |
| Valuation over time | get_valuation_history ticker=AAPL |
| TTM revenue, profit, cash flow | get_ttm_financials ticker=AAPL |
| Statements | get_income_statement ticker=AAPL period=quarterly (also get_balance_sheet, get_cash_flow) |
| Analyst EPS and revenue estimates | get_analyst_estimates ticker=AAPL |
| Price targets / ratings | get_analyst_price_targets ticker=AAPL / get_analyst_recommendations ticker=AAPL |
| Next earnings date (one stock) | get_earnings_calendar ticker=AAPL |
| Who reports this week | get_upcoming_earnings days=7 |
| Top gainers / losers / most active | get_market_movers category=day_gainers (day_losers, most_actives, most_shorted_stocks, ...) |
| Market overview / open or closed | get_market_summary region=US / get_market_status |
| Sector or industry | get_sector_overview sector=technology / get_industry_overview industry=semiconductors |
| IPOs, economic events, splits | get_ipo_calendar / get_economic_calendar / get_splits_calendar |
| Buybacks or dilution | get_shares_history ticker=AAPL years=5 |
| Compare stocks | compare_stocks tickers=AAPL,MSFT,GOOGL |
| History | get_historical_data ticker=AAPL period=1y interval=1d |
| Crypto / forex / commodities | get_crypto_price symbol=BTC / get_forex_rate pair=EURUSD / get_commodity_price commodity=gold |
| ETF or fund | get_fund_overview ticker=SPY / get_fund_holdings ticker=SPY |
| News | get_stock_news ticker=AAPL limit=5 |
| Find a ticker | search_ticker query=palantir |
get_stock_price, get_stock_quote, get_fast_info, get_historical_data, get_historical_price_on_date, download_multiple_tickersget_company_info, get_company_overview, get_company_officers, get_isinget_income_statement, get_balance_sheet, get_cash_flow, get_ttm_financials, get_key_ratios, get_valuation_history, get_financial_summary, get_shares_historyget_earnings_dates, get_earnings_history, get_earnings_calendar, get_analyst_estimates, get_growth_estimates, get_eps_trend, get_eps_revisionsget_analyst_recommendations, get_analyst_price_targets, get_upgrades_downgradesget_institutional_holders, get_major_holders, get_mutualfund_holders, get_insider_transactions, get_insider_purchases, get_insider_roster_holdersget_dividends, get_stock_splits, get_corporate_actions, get_capital_gainsget_options_chain, get_options_expirationsget_market_status, get_market_summary, get_market_indices, get_market_movers, get_trending_tickers, get_sector_performance, get_sector_overview, get_industry_overviewget_upcoming_earnings, get_ipo_calendar, get_economic_calendar, get_splits_calendarget_fund_overview, get_fund_holdings, get_fund_sector_weightsget_crypto_price, get_forex_rate, get_commodity_pricecompare_stocks, get_peer_comparison, get_historical_comparison, get_complete_analysisget_stock_news, get_sec_filingssearch_ticker, validate_ticker, get_api_status, run_self_test