mktcap
- Model
- Chart
Get market cap over time for ticker. [Source: Yahoo Finance]
Source Code: [link]
openbb.stocks.fa.mktcap(symbol: str, start_date: Optional[str] = None)
Parameters
Name | Type | Description | Default | Optional |
---|---|---|---|---|
symbol | str | Ticker to get market cap over time | None | False |
start_date | Optional[str] | Initial date (e.g., 2021-10-01). Defaults to 3 years back | None | True |
Returns
Type | Description |
---|---|
pd.DataFrame | Dataframe of estimated market cap over time |
Display market cap over time. [Source: Yahoo Finance]
Source Code: [link]
openbb.stocks.fa.mktcap_chart(symbol: str, start_date: Optional[str] = None, export: str = "", external_axes: Optional[List[matplotlib.axes._axes.Axes]] = None)
Parameters
Name | Type | Description | Default | Optional |
---|---|---|---|---|
symbol | str | Stock ticker symbol | None | False |
start_date | Optional[str] | Initial date (e.g., 2021-10-01). Defaults to 3 years back | None | True |
export | str | Format to export data | True | |
external_axes | Optional[List[plt.Axes]] | External axes (1 axis is expected in the list), by default None | None | True |
Returns
This function does not return anything