Registry / analytics / openbb-economy

openbb-economy

JSON →
library1.6.2pypypiunverified

Economy extension for OpenBB, providing economic data providers and tools. Current version: 1.6.2, requires Python >=3.10, <4. Release cadence follows OpenBB core releases.

pip install openbb-economy
INSTALL
IMPORT
SIG · OPENBB-ECONOMY
O
openbb-economy
analyticspythonv1.6.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

OBBEconomy
from openbb_economy import OBBEconomy
from openbb_economy import OBBEconomy

Initialize the economy extension with an API key (if required) and fetch economic data.

import os from openbb_economy import OBBEconomy api_key = os.environ.get('OPENBB_API_KEY', '') economy = OBBEconomy(api_key=api_key) # Example: fetch GDP data gdp = economy.gdp(country='united_states') print(gdp.to_df())
Debug
Known issues
gotchaThe OBBEconomy class requires an API key for many providers. Without it, calls may fail silently or return empty data.
fix
Set the OPENBB_API_KEY environment variable or pass api_key parameter.
affects: all
deprecatedSome provider-specific methods (e.g., 'fred') are being phased out in favor of generic method calls like 'gdp', 'inflation', etc.
fix
Use the generic methods (e.g., economy.gdp()) instead of provider-specific ones.
affects: >=1.6.0
Upgrade
Version history
1.6.2latest on PyPI · released May 26, 2026
Audit
Dependencies
openbb-corerequiredCore library required for all OpenBB extensions.
Agent activity
44 hits · last 30 days
node
38
Amazon
1
Resources

No resource links recorded.

openbb-economy — pip install openbb-economy · libregistry