COT Search
Implementation details
Class names
Model name | Parameters class | Data class |
---|---|---|
COTSearch | COTSearchQueryParams | COTSearchData |
Import Statement
from openbb_core.provider.standard_models. import (
COTSearchData,
COTSearchQueryParams,
)
Parameters
- standard
- cftc
Name | Type | Description | Default | Optional |
---|---|---|---|---|
query | str | Search query. | True |
Name | Type | Description | Default | Optional |
---|---|---|---|---|
query | str | Search query. | True |
Data
- standard
- cftc
Name | Type | Description |
---|---|---|
code | str | CFTC market contract code of the report. |
name | str | Name of the underlying asset. |
category | str | Category of the underlying asset. |
subcategory | str | Subcategory of the underlying asset. |
units | str | The units for one contract. |
symbol | str | Symbol representing the entity requested in the data. |
Name | Type | Description |
---|---|---|
code | str | CFTC market contract code of the report. |
name | str | Name of the underlying asset. |
category | str | Category of the underlying asset. |
subcategory | str | Subcategory of the underlying asset. |
units | str | The units for one contract. |
symbol | str | Symbol representing the entity requested in the data. |
commodity | str | Name of the commodity. |