openbb
БесплатноБез исполняемых скриптовНе проверенOpenBB Platform is an open-source Python library, REST API and MCP server that gives one interface to financial data: stocks, ETFs, crypto, forex, macro…
от TerminalSkills★ 221 звезда на GitHubОб этом скилле
OpenBB
Overview
OpenBB (Open Data Platform, repository OpenBB-finance/OpenBB, Apache-2.0) turns many financial data sources into one typed Python client (from openbb import obb), a FastAPI REST server (openbb-api) and an MCP server (openbb-mcp). Results are OBBject objects with .to_dataframe(), .to_dict() and .results. Checked against openbb 5.0.0 / openbb-core 2.0.1 (2026).
Version 5 is a modular rewrite: openbb-core ships no commands, and what you can call depends on which extension packages are installed. Older tutorials (4.x) rely on providers such as yfinance, fmp and polygon that are not part of 5.0; commands like obb.equity.fundamental.metrics and obb.equity.discovery.losers no longer exist. Always list what you have before writing code (see "Discover what is installed").
Instructions
Installation
python3 -m venv .venv && source .venv/bin/activate
pip install "openbb[routers]" # client + provider extensions + equity/economy/crypto/... routers
Plain pip install openbb installs the providers (cboe, nasdaq, sec, fred, oecd, ecb, imf, tmx, ...), obb.news, charting, the API and MCP servers, but not the equity, economy, crypto, currency, technical routers; those come with the [routers] extra or individual packages (pip install openbb-equity openbb-technical). After adding or removing an extension, openbb-build regenerates the static package (it also rebuilds on import).
Discover what is installed
from openbb import obb
print([n for n in dir(obb) if not n.startswith("_")]) # namespaces
print([n for n in dir(obb.equity.fundamental) if not n.startswith("_")])
import inspect
print(inspect.signature(obb.equity.price.historical))
print(obb.equity.price.historical.__annotations__["provider"]) # providers allowed for this command
Each command accepts provider="..."; without it, the first available provider in the command's priority list is used. In this install equity.price.historical accepts cboe, nasdaq, tmx; crypto.price.historical only nasdaq; currency.price.historical ecb and tmx; news.company nasdaq and tmx.
Equity data
from openbb import obb
prices = obb.equity.price.historical("AAPL", start_date="2026-01-01", provider="cboe").to_dataframe()
quote = obb.equity.price.quote("AAPL", provider="cboe").to_dataframe()
income = obb.equity.fundamental.income("AAPL", provider="sec", limit=4).to_dataframe() # SEC filings
ratios = obb.equity.fundamental.ratios("AAPL", limit=4).to_dataframe() # nasdaq
hits = obb.equity.search("apple").to_dataframe()
universe = obb.equity.screener(provider="nasdaq").to_dataframe() # about 7,000 rows: filter in pandas
Technical indicators take a DataFrame with a date index and close: obb.technical.sma(data=prices, length=20), obb.technical.rsi(data=prices, length=14), obb.technical.macd(data=prices) (columns macd, signal, histogram).
Macro, currency, news
cpi = obb.economy.cpi(country="united_states", provider="oecd").to_dataframe()
gdp = obb.economy.gdp.nominal(country="united_states").to_dataframe()
eurusd = obb.currency.price.historical("EURUSD").to_dataframe()
news = obb.news.company("AAPL", limit=5, provider="nasdaq").to_dataframe()
# FRED needs a free key
fedfunds = obb.economy.fred_series("FEDFUNDS", provider="fred").to_dataframe()
Credentials
Providers that need a key read <PROVIDER>_<CREDENTIAL> environment variables (they take precedence), then ~/.openbb_platform/user_settings.json, or you set them per session:
export FRED_API_KEY="your FRED key from fredaccount.stlouisfed.org"
export BLS_API_KEY="your BLS key"
import os
obb.user.credentials.fred_api_key = os.environ["FRED_API_KEY"]
A missing key raises OpenBBError: Missing credential 'fred_api_key'.
REST API and MCP server for agents
openbb-api # http://127.0.0.1:6900, OpenAPI docs at /docs
curl "http://127.0.0.1:6900/api/v1/equity/price/historical?symbol=AAPL&provider=cboe&start_date=2026-09-28"
openbb-mcp --transport stdio # default transport is streamable-http on 127.0.0.1:8001
The MCP server exposes the installed commands as tools. Limit them with --allowed-categories and keep the server on 127.0.0.1. For OpenBB Workspace, add http://127.0.0.1:6900 as a custom backend in the Apps tab.
Providers (what each gives, key needed)
| Provider | Data | Key |
|---|---|---|
| cboe | US equity prices and quotes, options | none |
| nasdaq | fundamentals, ratios, news, screener, crypto | none |
| sec | EDGAR filings and financial statements | none |
| fred | US macro series | fred_api_key (free) |
| oecd, imf, ecb, bls | macro, rates, FX, labor | oecd/imf/ecb none, bls key |
| tmx | Canadian markets | none |
The openbb-yfinance extension exists on PyPI only as a 2.0.0 release candida
Установить openbb в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл openbb?
OpenBB Platform is an open-source Python library, REST API and MCP server that gives one interface to financial data: stocks, ETFs, crypto, forex, macro economics and SEC filings. Use when building financial analysis tools, feeding market data to AI agents, creating quantitative research pipelines, or accessing free financial data APIs from Python.
Как установить скилл openbb?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл openbb запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic