info
- Model
- Chart
Get info for a given ticker
Source Code: [link]
openbb.stocks.options.info(symbol: str)
Parameters
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| symbol | str | The ticker symbol to get the price for | None | False |
Returns
| Type | Description |
|---|---|
| float | The info for a given ticker |
Scrapes Barchart.com for the options information
Source Code: [link]
openbb.stocks.options.info_chart(symbol: str, export: str = "")
Parameters
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| symbol | str | Ticker symbol to get options info for | None | False |
| export | str | Format of export file | True |
Returns
This function does not return anything