Skip to main content

historical_market_cap

Get the historical market cap of a ticker symbol.

Examples

from openbb import obb
obb.equity.historical_market_cap(provider='fmp', symbol='AAPL')

Parameters

NameTypeDescriptionDefaultOptional
symbolUnion[str, List[str]]Symbol to get data for. Multiple items allowed for provider(s): fmp.False
start_dateUnion[date, str]Start date of the data, in YYYY-MM-DD format.NoneTrue
end_dateUnion[date, str]End date of the data, in YYYY-MM-DD format.NoneTrue

Returns

OBBject
results : List[HistoricalMarketCap]
Serializable results.

provider : Optional[Literal['fmp']]
Provider name.

warnings : Optional[List[Warning_]]
List of warnings.

chart : Optional[Chart]
Chart object.

extra : Dict[str, Any]
Extra info.

Data

NameTypeDescription
dateUnion[date, str]The date of the data.
symbolstrSymbol representing the entity requested in the data.
market_capUnion[int, float]Market capitalization of the security.