Openbb Equity
Comprehensive equity analysis using OpenBB - historical prices,
- Type
- Slash Command
- Repository
- jeremylongshore/tons-of-skills-marketplace
- GitHub stars
- 2.8k
- License
- MIT
- Repo last updated
- Sep 27, 2026
What Openbb Equity is
Openbb Equity is a slash command published in the jeremylongshore/tons-of-skills-marketplace repository on GitHub, which has about 2.8k stars. The repository describes itself as: “Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.”
A slash command is a reusable prompt saved as a markdown file and run by typing its name after a slash. In Claude Code, custom commands have been merged into skills: a file in .claude/commands/ and a skill folder in .claude/skills/ both create the same kind of command, and existing command files keep working.
Openbb Equity gives you a repeatable way to run the same instructions without retyping them, optionally with arguments.
How to install Openbb Equity
Claude Code
- Download openbb-equity.md from the repository.
- Save it to ~/.claude/commands/ (all projects) or .claude/commands/ (one project). As a skill, you can instead save it as ~/.claude/skills/<name>/SKILL.md.
- Run it by typing / followed by its name.
Claude Cowork
- Turn the command into a skill: create a folder with the file saved as SKILL.md and zip it.
- In Customize → Skills, click +, then upload the ZIP.
- Run it from any task with / and the skill name.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from plugins/business-tools/openbb-terminal/commands/openbb-equity.md, shared under the repository's MIT license. Read the full file on GitHub.
Perform comprehensive stock analysis using the OpenBB Platform.
Usage
/openbb-equity TICKER [--analysis fundamental|technical|all] [--period 1y]What This Command Does
Retrieves and analyzes equity data for any stock ticker using OpenBB's comprehensive data sources.
Workflow
1. Check OpenBB Installation
First, verify OpenBB is installed:
try:
from openbb import obb
print("✅ OpenBB installed")
except ImportError:
print("⚠️ Installing OpenBB...")
import subprocess
subprocess.run(["pip", "install", "openbb"], check=True)
from openbb import obb2. Parse Arguments
# Parse user input
import sys
ticker = sys.argv[1].upper() if len(sys.argv) > 1 else "AAPL"
analysis_type = "all" # fundamental, technical, or all
period = "1y" # 1d, 1w, 1m, 3m, 6m, 1y, 5y
# Parse flags
for arg in sys.argv[2:]:
if arg.startswith("--analysis="):
analysis_type = arg.split("=")[1]
elif arg.startswith("--period="):
period = arg.split("=")[1]3. Retrieve Historical Price Data
# Get historical prices
price_data = obb.equity.price.historical(
symbol=ticker,
interval="1d",
period=period
)
df = price_data.to_dataframe()
print(f"\n📈 Historical Prices for {ticker}")
print(f"Period: {period}")
print(f"Latest Close: ${df['close'].iloc[-1]:.2f}")
print(f"52-Week High: ${df['high'].max():.2f}")
print(f"52-Week Low: ${df['low'].min():.2f}")
print(f"YTD Return: {((df['close'].iloc[-1] / df['close'].iloc[0]) - 1) * 100:.2f}%")4. Fundamental Analysis (if requested)
if analysis_type in ["fundamental", "all"]:
print(f"\n📊 Fundamental Analysis for {ticker}")
# Company profile
try:
profile = obb.equity.profile(symbol=ticker)
print(f"\nCompany: {profile.name}")
print(f"Sector: {profile.sector}")
print(f"Industry: {profile.industry}")
print(f"Market Cap: ${profile.market_cap / 1e9:.2f}B")
except:
print("Profile data not available")
# Financial metrics
try:
metrics = obb.equity.fundamental.metrics(symbol=ticker)
print(f"\nKey Metrics:")
print(f"P/E Ratio: {metrics.pe_ratio:.2f}")
…5. Technical Analysis (if requested)
if analysis_type in ["technical", "all"]:
print(f"\n📉 Technical Analysis for {ticker}")
# Calculate technical indicators
import pandas as pd
# Simple Moving Averages
df['SMA_20'] = df['close'].rolling(window=20).mean()
df['SMA_50'] = df['close'].rolling(window=50).mean()
df['SMA_200'] = df['close'].rolling(window=200).mean()
current_price = df['close'].iloc[-1]
sma_20 = df['SMA_20'].iloc[-1]
sma_50 = df['SMA_50'].iloc[-1]
sma_200 = df['SMA_200'].iloc[-1]
print(f"\nMoving Averages:")
print(f"Current Price: ${current_price:.2f}")
…6. AI-Powered Insights
Generate investment insights using Claude's analysis:
# Prepare summary for AI analysis
summary = {
"ticker": ticker,
"current_price": current_price,
"52w_high": df['high'].max(),
"52w_low": df['low'].min(),
"ytd_return": ((df['close'].iloc[-1] / df['close'].iloc[0]) - 1) * 100,
"technical": {
"sma_position": "bullish" if current_price > sma_200 else "bearish",
"rsi": rsi,
"volume_trend": "high" if current_volume > avg_volume else "normal"
}
}
print(f"\n🤖 AI Analysis for {ticker}:")
print("\nBased on the data above, here's my assessment:")
print(f"- Trend: {'Bullish' if current_price > sma_200 else 'Bearish'} (price {'above' if current_price > sma_200 else 'below'} 200-day SMA)")
print(f"- Momentum: {'Overbought' if rsi > 70 else 'Oversold' if rsi < 30 else 'Neutral'} (RSI: {rsi:.1f})")
…7. Generate Report
Create a formatted analysis report:
print(f"\n{'='*60}")
print(f"EQUITY ANALYSIS REPORT: {ticker}")
print(f"{'='*60}")
print(f"Generated: {pd.Timestamp.now().strftime('%Y-%m-%d %H:%M:%S')}")
print(f"Data Source: OpenBB Platform")
print(f"\nAnalysis Type: {analysis_type.upper()}")
print(f"Period Analyzed: {period}")
print(f"\n{'='*60}")Examples
Basic equity analysis
/openbb-equity AAPLFundamental analysis only
/openbb-equity TSLA --analysis=fundamentalTechnical analysis with custom period
/openbb-equity NVDA --analysis=technical --period=6mComplete analysis
/openbb-equity GOOGL --analysis=all --period=1yData Coverage
- Price Data: Historical OHLCV, real-time quotes
- Fundamentals: Income statements, balance sheets, cash flow, ratios
- Technical: SMA, EMA, RSI, MACD, Bollinger Bands, volume
- Analyst Data: Ratings, price targets, recommendations
- Insider Trading: Recent insider transactions
- News: Latest company news and sentiment
Tips
- Compare Multiple Stocks: Run for different tickers to compare
- Track Over Time: Save reports to monitor changes
- Combine with AI Agents: Use with equity-analyst agent for deeper insights
- Export Data: Save dataframes to CSV for further analysis
- Set Alerts: Monitor key technical levels (support/resistance)
Integration with Other Commands
# Compare with crypto
/openbb-crypto BTC --compare=equity
# Portfolio context
/openbb-portfolio --add=AAPL
# Macro correlation
/openbb-macro --impact=equityRequirements
- OpenBB Platform installed (pip install openbb)
- Python 3.9.21 - 3.12
- Optional: API keys for premium data providers (configured in OpenBB)
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Openbb Equity?
Openbb Equity is a slash command for Claude Code and Claude Cowork from the jeremylongshore/tons-of-skills-marketplace repository on GitHub. Comprehensive equity analysis using OpenBB - historical prices,
How do I install Openbb Equity in Claude Code?
Download openbb-equity.md from the repository. Save it to ~/.claude/commands/ (all projects) or .claude/commands/ (one project). As a skill, you can instead save it as ~/.claude/skills/<name>/SKILL.md. Run it by typing / followed by its name.
Can I use Openbb Equity in Claude Cowork?
Turn the command into a skill: create a folder with the file saved as SKILL.md and zip it. In Customize → Skills, click +, then upload the ZIP. Run it from any task with / and the skill name.
Is Openbb Equity safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Api Test Automation Automated API endpoint testing with request generation, validation, and comprehensive test coverage Plugin · jeremylongshore/tons-of-skills-marketplace
- Api Tester Generates and executes REST and GraphQL API test suites covering happy paths, auth scenarios, edge cases, and contract validation, then reports results with coverage metrics. Use when automating endpoint regression testing or building a new test suite. Trigger with "test this API", "generate API tests". Subagent · jeremylongshore/tons-of-skills-marketplace
- Api Versioning Manager Manage API versions with migration strategies and backward compatibility Plugin · jeremylongshore/tons-of-skills-marketplace
- Apify Pack Claude Code skill pack for Apify (18 skills) Plugin · jeremylongshore/tons-of-skills-marketplace
- Openbb Macro Macroeconomic analysis using OpenBB - GDP, inflation, interest rates, Slash Command · jeremylongshore/tons-of-skills-marketplace
- Openbb Crypto Cryptocurrency market analysis using OpenBB - price data, on-chain metrics, Slash Command · jeremylongshore/tons-of-skills-marketplace
- Openbb Options Options analysis using OpenBB - chain data, Greeks, implied volatility, Slash Command · jeremylongshore/tons-of-skills-marketplace
- New Create a new sprint directory with specs.md template Slash Command · jeremylongshore/tons-of-skills-marketplace