Skip to main content

COT


Implementation details​

Class names​

Model nameParameters classData class
COTCOTQueryParamsCOTData

Import Statement​

from openbb_core.provider.standard_models.cot import (
COTData,
COTQueryParams,
)

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

Data​

NameTypeDescription
datedateThe date of the data.