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

NameTypeDescriptionDefaultOptional
symbolstrSymbol to get data for.False

Returns

OBBject
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

NameTypeDescription
ask_exchangestrThe exchange ID for the ask.
askfloatThe last ask price.
ask_sizeintThe 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.None
bid_sizeintThe bid size in round lots.
bidfloatThe last bid price.
bid_exchangestrThe exchange ID for the bid.