Registry / analytics / openbb-fixedincome

openbb-fixedincome

JSON →
library1.6.2pypypi✓ verified 84d ago

Fixed income extension for the OpenBB Platform, providing tools for government bond yields, corporate bonds, and fixed income analytics. Current version 1.6.2, released monthly alongside the OpenBB platform.

pip install openbb-fixedincome
INSTALL
IMPORT
SIG · OPENBB-FIXEDINCOME
O
openbb-fixedincome
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.

OBBject
from openbb_core.app.model.obbject import OBBject
from openbb import OBBject
OBBject is in openbb-core, not the top-level openbb

Initialize OpenBB and fetch Treasury yields from Financial Modeling Prep.

from openbb import obb # Government bond yields obb.fixedincome.government.treasury_yield( provider="fmp", start_date="2024-01-01", end_date="2024-12-31" )
Debug
Known issues
breakingIn openbb-fixedincome v1.6+, the provider parameter is required for all data endpoints. Omitting it will raise a ValueError.
fix
Always specify provider= when calling data methods.
affects: >=1.6.0
breakingThe 'yield_curve' endpoint was removed in v1.5.0. Use 'government.treasury_yield' instead.
fix
Replace obb.fixedincome.government.yield_curve with obb.fixedincome.government.treasury_yield.
affects: <1.5.0
deprecatedDirect instantiation of OBBject from this extension is deprecated. Use openbb-core's OBBject or the results attribute.
fix
Access results via obb.fixedincome.government.treasury_yield(...).results.
affects: >=1.4.0
gotchaAPI keys must be set before use via obb.account.login(api_key='...') or environment variables.
fix
Set OPENBB_FMP_API_KEY or call obb.account.login(api_key='...').
affects: all
Errors
Common errors & fixes
ValueError: Provider must be specified.
Missing required provider parameter in data request.
fix
Add provider='fmp' (or other supported provider) to the function call.
ModuleNotFoundError: No module named 'openbb_fixedincome'
Package not installed or installed in wrong environment.
fix
Run 'pip install openbb-fixedincome' in the correct Python environment.
Upgrade
Version history
1.6.2latest on PyPI · released May 26, 2026
Audit
Dependencies
openbb-corerequiredRequired for the OpenBB platform runtime
Agent activity
34 hits · last 30 days
node
32
OpenAI (training)
1
Resources

No resource links recorded.

openbb-fixedincome — pip install openbb-fixedincome · libregistry