Skip to main content

Equity NBBO


Implementation details

Class names

Model nameParameters classData class
EquityNBBOEquityNBBOQueryParamsEquityNBBOData

Import Statement

from openbb_core.provider.standard_models.equity_nbbo import (
EquityNBBOData,
EquityNBBOQueryParams,
)

Parameters

NameTypeDescriptionDefaultOptional
symbolstrSymbol to get data for.False
providerLiteral['polygon']The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'polygon' if there is no default.polygonTrue

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.
bid_sizeintThe bid size in round lots.
bidfloatThe last bid price.
bid_exchangestrThe exchange ID for the bid.