cftc_cot_history
Return a bounded weekly history for one CFTC contract market, report family, scope, and trader category from the self-hosted official snapshot. Includes long, short, spreading, net, changes, percentages, open interest, pagination, source ids, and provenance. Use this for 'managed money net positions in crude oil over time', 'commercial gold COT history', or a reproducible positioning chart. Report-family categories are enforced; not trading advice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum weekly observations. Default 20. | |
| scope | No | Futures-only or futures-and-options-combined view. Defaults to futures_only, except CIT (combined only). | |
| market | Yes | Exact CFTC contract market code or contract name. Search first when the name is ambiguous. | |
| offset | No | Observations to skip. Default 0. | |
| category | Yes | Family-specific category: noncommercial/commercial; producer_merchant_processor_user/swap_dealer/managed_money/other_reportables; dealer_intermediary/asset_manager_institutional/leveraged_funds/other_reportables; or noncommercial_ex_cit/commercial_ex_cit/commodity_index_trader. | |
| end_date | No | Optional latest report date, YYYY-MM-DD. | |
| start_date | No | Optional earliest report date, YYYY-MM-DD. | |
| report_type | Yes | CFTC report family. Categories differ by family; use search or the evidence pack to discover available families. | |
| response_format | No | Human-readable markdown or machine-readable JSON. Default markdown. |