Registry / analytics / openbb-index

openbb-index

JSON →
library1.6.2pypypiunverified

An extension for the OpenBB Platform that provides stock market index data providers, including indices such as S&P 500, Dow Jones, NASDAQ, and more. Version 1.6.2, released 2024-08. The extension allows users to fetch historical and current index data through the OpenBB SDK. It is part of the OpenBB ecosystem and follows the same release cadence as the core platform.

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

index
✓ from openbb_index import index
✗ from openbb_index import index as openbb_index

Basic usage: instantiate the IndexProvider and fetch historical data for an index symbol (e.g., ^GSPC for S&P 500).

from openbb_index import index as openbb_index # Create a reference to the index provider index_provider = openbb_index.IndexProvider() # Fetch historical data for S&P 500 sp500_data = index_provider.get_historical("^GSPC") print(sp500_data)
Debug
Known issues
breakingVersion 1.5.0 changed the import path from openbb_index.index to openbb_index.IndexProvider. Old code using openbb_index.index will break.
fix
Use `from openbb_index import IndexProvider` instead of `from openbb_index.index import ...`
affects: >=1.5.0
gotchaThe extension requires the OpenBB core platform to be installed and configured. Running get_historical without a configured data provider will raise a ProviderNotConfiguredError.
fix
Ensure openbb-core is installed and run `openbb setup` or configure a provider manually.
affects: all
deprecatedThe method `get_historical` is deprecated in favor of `fetch_historical` in version 1.6.0. The old method will be removed in 2.0.
fix
Use `IndexProvider.fetch_historical(symbol)` instead of `get_historical`.
affects: >=1.6.0
Upgrade
Version history
1.6.2latest on PyPI · released May 26, 2026
Audit
Dependencies
openbb-coreoptionalCore OpenBB platform required
Agent activity
38 hits · last 30 days
node
34
Resources

No resource links recorded.

openbb-index — pip install openbb-index · libregistry