Skip to main content

cot_search

Curated Commitment of Traders Reports.

Search a list of curated Commitment of Traders Reports series information.

Example​

from openbb import obb
obb.regulators.cftc.cot_search(query="gold")

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

Returns​

OBBject
results : List[COTSearch]
Serializable results.

provider : Optional[Literal['nasdaq']]
Provider name.

warnings : Optional[List[Warning_]]
List of warnings.

chart : Optional[Chart]
Chart object.

extra : Dict[str, Any]
Extra info.

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.