Skip to main content

cot

Commitment of Traders Reports. Lookup Commitment of Traders Reports by series ID.

Example​

from openbb import obb
obb.regulators.cftc.cot(id="042601")

Parameters​

NameTypeDescriptionDefaultOptional
idstrThe series ID string for the report. Default report is Two-Year Treasury Note Futures."042601"True
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."nasdaq"True

Returns​

OBBject
results : List[COT]
Serializable results.

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

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

chart : Optional[Chart]
Chart object.

metadata: Optional[Metadata]
Metadata info about the command execution.

Data​

NameTypeDescription
datedateThe date of the data.