Skip to main content

hist_ce

Historic prices for a specific option [chartexchange]

Source Code: [link]

openbb.stocks.options.hist_ce(symbol: str = "GME", date: str = "2021-02-05", call: bool = True, price: Union[str, int, float] = "90")

Parameters​

NameTypeDescriptionDefaultOptional
symbolstrTicker symbol to get historical data fromGMETrue
datestrDate as a string YYYYMMDD2021-02-05True
callboolWhether to show a call or a putTrueTrue
priceUnion[str, Union[int, float]]Strike price for a specific option90True

Returns​

TypeDescription
pd.DataframeHistoric information for an option