sic_search
Search for Industry Titles, Reporting Office, and SIC Codes. An empty query string returns all results.
Examples
from openbb import obb
obb.regulators.sec.sic_search(provider='sec')
obb.regulators.sec.sic_search(query='real estate investment trusts', provider='sec')
Parameters
- standard
- sec
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| query | str | Search query. | True | |
| use_cache | bool | Whether or not to use cache. | True | True |
| provider | Literal['sec'] | The provider to use, by default None. If None, the priority list configured in the settings is used. Default priority: sec. | None | True |
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| query | str | Search query. | True | |
| use_cache | bool | Whether or not to use cache. | True | True |
| provider | Literal['sec'] | The provider to use, by default None. If None, the priority list configured in the settings is used. Default priority: sec. | None | True |
Returns
OBBject
results : List[SicSearch]
Serializable results.
provider : Optional[Literal['sec']]
Provider name.
warnings : Optional[List[Warning_]]
List of warnings.
chart : Optional[Chart]
Chart object.
extra : Dict[str, Any]
Extra info.
Data
- standard
- sec
| Name | Type | Description |
|---|
| Name | Type | Description |
|---|---|---|
| sic | int | Sector Industrial Code (SIC) |
| industry | str | Industry title. |
| office | str | Reporting office within the Corporate Finance Office |