Skip to main content
Version: v5

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​

region: str | None
Default: us
The region of focus for the data - i.e., us, eu.


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​

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.