# Crude oil hedge-fund positioning (CFTC COT) — last 12 weeks

**Use case:** 

Weekly CFTC Commitment of Traders positioning for WTI crude oil managed money, with 3-year percentile and week-over-week change.

## Input

```json
{
  "commodity": "WTI CRUDE OIL",
  "report_type": "disaggregated",
  "weeks_back": 12,
  "category": "managed_money",
  "max_records": 12
}
```

## Output

```json
{
  "commodity_name": {
    "label": "commodity_name"
  },
  "contract_market_name": {
    "label": "contract_market_name"
  },
  "contract_code": {
    "label": "contract_code"
  },
  "market_and_exchange_names": {
    "label": "market_and_exchange_names"
  },
  "exchange": {
    "label": "exchange"
  },
  "report_date": {
    "label": "report_date"
  },
  "report_week": {
    "label": "report_week"
  },
  "report_type": {
    "label": "report_type"
  },
  "category": {
    "label": "category"
  },
  "long_positions": {
    "label": "long_positions"
  },
  "short_positions": {
    "label": "short_positions"
  },
  "spread_positions": {
    "label": "spread_positions"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The CFTC COT Enhanced — Position Velocity & Percentile Tracker Actor is ready to run with the inputs already set for "Crude oil hedge-fund positioning (CFTC COT) — last 12 weeks". [Sign up or log in](https://console.apify.com/create-task-from-example/bYbhjn8E2xX3hiR3G) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Crude oil hedge-fund positioning (CFTC COT) — last 12 weeks" task

The CFTC COT Enhanced — Position Velocity & Percentile Tracker Actor will start running based on the input automatically. You can also change all the input fields, like commodity (contract market name or commodity name), COT report family, and more, to match your specific use case.

### 3. Receive the "Crude oil hedge-fund positioning (CFTC COT) — last 12 weeks" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as commodity_name, contract_market_name, contract_code, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Crude oil hedge-fund positioning (CFTC COT) — last 12 weeks" task via API](https://apify.com/nexgendata/cftc-cot-position-velocity-tracker.md).

## FAQ

### What does this task return?

One row per weekly CFTC COT report: market, report date, category, long, short and net positions, open interest, 3-year percentile and weekly change.

### What does a run of this task cost?

$0.15 per COT record, plus a $0.005 start fee per run. This task returns 12 weeks (12 rows), about $1.80 per run.

### Can I change this task's input?

Yes. Change commodity to any CFTC market (gold, corn, S&P 500 and more), category, report_type or weeks_back.

## About this Actor

This example demonstrates how to use [CFTC COT Enhanced — Position Velocity & Percentile Tracker](https://apify.com/nexgendata/cftc-cot-position-velocity-tracker.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/nexgendata/cftc-cot-position-velocity-tracker.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/nexgendata/cftc-cot-position-velocity-tracker.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
