Skip to main content

Equity Quote


Implementation details

Class names

Model nameParameters classData class
EquityQuoteEquityQuoteQueryParamsEquityQuoteData

Import Statement

from openbb_core.provider.standard_models.equity_quote import (
EquityQuoteData,
EquityQuoteQueryParams,
)

Parameters

symbol: Union[str, list[str]]

Symbol to get data for. Multiple items allowed for provider(s): cboe, fmp, intrinio, tmx, tradier, yfinance.

Optional: False

Data

symbol: str

Symbol representing the entity requested in the data.

asset_type: str

Type of asset - i.e, stock, ETF, etc.

name: str

Name of the company or asset.

exchange: str

The name or symbol of the venue where the data is from.

bid: float

Price of the top bid order.

bid_size: int

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

bid_exchange: str

The specific trading venue where the purchase order was placed.

ask: float

Price of the top ask order.

ask_size: int

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

ask_exchange: str

The specific trading venue where the sale order was placed.

quote_conditions: Union[str, int, list[str], list[int]]

Conditions or condition codes applicable to the quote.

quote_indicators: Union[str, int, list[str], list[int]]

Indicators or indicator codes applicable to the participant quote related to the price bands for the issue, or the affect the quote has on the NBBO.

sales_conditions: Union[str, int, list[str], list[int]]

Conditions or condition codes applicable to the sale.

sequence_number: int

The sequence number represents the sequence in which message events happened. These are increasing and unique per ticker symbol, but will not always be sequential (e.g., 1, 2, 6, 9, 10, 11).

market_center: str

The ID of the UTP participant that originated the message.

participant_timestamp: datetime

Timestamp for when the quote was generated by the exchange.

trf_timestamp: datetime

Timestamp for when the TRF (Trade Reporting Facility) received the message.

sip_timestamp: datetime

Timestamp for when the SIP (Security Information Processor) received the message from the exchange.

last_price: float

Price of the last trade.

last_tick: str

Whether the last sale was an up or down tick.

last_size: int

Size of the last trade.

last_timestamp: datetime

Date and Time when the last price was recorded.

open: float

The open price.

high: float

The high price.

low: float

The low price.

close: float

The close price.

volume: Union[float, int]

The trading volume.

exchange_volume: Union[float, int]

Volume of shares exchanged during the trading day on the specific exchange.

prev_close: float

The previous close price.

change: float

Change in price from previous close.

change_percent: float

Change in price as a normalized percentage.

year_high: float

The one year high (52W High).

year_low: float

The one year low (52W Low).