Skip to main content

COT Search


Implementation details​

Class names​

Model nameParameters classData class
COTSearchCOTSearchQueryParamsCOTSearchData

Import Statement​

from openbb_core.provider.standard_models. import (
COTSearchData,
COTSearchQueryParams,
)

Parameters​

NameTypeDescriptionDefaultOptional
querystrSearch query.True
use_cacheboolWhether or not to use cache. If True, cache will store for seven days.TrueTrue
providerLiteral['nasdaq']The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'nasdaq' if there is no default.nasdaqTrue

Data​

NameTypeDescription
codestrCFTC Code of the report.
namestrName of the underlying asset.
categorystrCategory of the underlying asset.
subcategorystrSubcategory of the underlying asset.
unitsstrThe units for one contract.
symbolstrSymbol representing the entity requested in the data.