Skip to main content

nbbo

Get the National Best Bid and Offer for a given stock.

Examples

from openbb import obb
obb.equity.price.nbbo(symbol='AAPL', provider='polygon')

Parameters

symbol: str
Symbol to get data for.


Returns

results: list[EquityNBBO]

Serializable results.

provider: Optional[Literal['polygon']]

Provider name.

warnings: Optional[list[Warning_]]

list of warnings.

chart: Optional[Chart]

Chart object.

extra: dict[str, Any]

Extra info.


Data

ask_exchange: str
The exchange ID for the ask.

ask: float
The last ask price.

ask_size: int

Description

The ask size. This represents the number of round lot orders at the given ask price.
The normal round lot size is 100 shares.
An ask size of 2 means there are 200 shares available to purchase at the given ask price.

bid_size: int
The bid size in round lots.

bid: float
The last bid price.

bid_exchange: str
The exchange ID for the bid.