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.TrueTrue
providerLiteral['nasdaq']The provider to use, by default None. If None, the priority list configured in the settings is used. Default priority: nasdaq.NoneTrue

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.