snapshots
Get current levels, session ranges, and changes for a set of indexes.
Examples
from openbb import obb
# The headline US indexes.
obb.nasdaq.index.snapshots(provider='nasdaq')
# The Nordic headline indexes.
obb.nasdaq.index.snapshots(region='nordic', provider='nasdaq')
Parameters
- standard
- nasdaq
region: str | None
Default: us
The region of focus for the data - i.e., us, eu.
region: str | None
Default: us
The index universe to return. Nordic indexes are served from the Nasdaq Nordic listing.
Returns
results: NasdaqIndexSnapshots
Serializable results.
provider: str | None
Provider name.
warnings: Optional[list[Warning_]]
List of warnings.
chart: Optional[Chart]
Chart object.
extra: dict[str, Any]
Extra info.
Data
- standard
- nasdaq
symbol: str
Symbol representing the entity requested in the data.
name: str | None
Name of the index.
currency: str | None
Currency of the index.
price: float | None
Current price of the index.
open: float | None
The open price.
high: float | None
The high price.
low: float | None
The low price.
close: float | None
The close price.
volume: int | None
The trading volume.
prev_close: float | None
The previous close price.
change: float | None
Change in value of the index.
change_percent: float | None
Change, in normalized percentage points, of the index.
symbol: str
The index symbol.
name: str | None
Name of the index.
currency: str | None
Currency of the index.
price: float | None
Current price of the index.
open: float | None
The open price.
high: float | None
The high price.
low: float | None
The low price.
close: float | None
The close price.
volume: float | None
The last session's share volume.
prev_close: float | None
The previous close price.
change: float | None
Change in value of the index.
change_percent: float | None
Change, as a normalized percent, of the index.