[Integrations](https://spiral.ai/integrations) › [Grok Build](https://spiral.ai/integrations/grok-build) › [CFTC legacy futures and options positions](https://spiral.ai/integrations/grok-build/cftc-legacy-futures-and-options-positions)

# How to Use CFTC legacy futures and options positions in Grok Build

Returns commercial, noncommercial, and nonreportable positions with open interest, including options converted to futures equivalents. Use it for broad positioning comparisons that include options.

|  |  |
| --- | --- |
| Model | CFTC legacy futures and options positions |
| Available through | Alexandria |
| Category | Finance |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with CFTC legacy futures and options positions in Grok Build

- Use CFTC legacy futures and options positions to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from CFTC legacy futures and options positions and tell me what changed since last week.
- Check CFTC legacy futures and options positions and summarize what you find in three bullet points.
- Pull the newest data from CFTC legacy futures and options positions and give me the result as a table.
- Check CFTC legacy futures and options positions every morning and tell me only when something changed.

## How to set up CFTC legacy futures and options positions in Grok Build

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the server**: Add `--scope project` to add Spiral to the current repository only. No header and no client ID or secret: Grok registers itself with Spiral.

```bash
grok mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `grok` and run `/mcps`. Select Spiral and press `i`. Your browser opens: sign in to Spiral, pick the organization and click Authorize. No API key.

3. **Check it**

```bash
grok mcp doctor spiral
```

### Use the Spiral skill

1. **Send Grok Build this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run CFTC legacy futures and options positions**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "cftc-gov/commitments-of-traders/legacy_combined",
    "input": {
      "to": "<to>"
    }
  }'
```

Then paste one of the prompts above: Grok Build finds CFTC legacy futures and options positions on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/grok-build

## CFTC legacy futures and options positions tools and prices

- [CFTC Commitments of Traders · Legacy combined](https://spiral.ai/tools/alexandria/cftc-gov/commitments-of-traders/legacy_combined) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| to |  | — | Latest report date to include, YYYY-MM-DD (inclusive). Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
| from |  | — | Earliest report date to include, YYYY-MM-DD (inclusive). Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
| sort | recent_first, oldest_first | recent_first | Order by report date then id. The upstream default order is undefined, so an order is always sent. |
| query |  | — | SODA full-text search ($q) over the text columns, e.g. `gold` or `chicago board of trade`. |
| cursor |  | — | next_cursor from the previous page of the same query (the SODA $offset). |
| fields |  | — | Projection: SODA column names to return (open_interest_all, noncomm_positions_long_all, m_money_positions_long_all, ...). The identity columns id, market_and_exchange_names, report_date_as_yyyy_mm_dd and cftc_contract_market_code are always included. An unknown column is invalid_input. Omit for every column. |

## What can you do with CFTC legacy futures and options positions in Grok Build?

Build a CFTC research table that pairs contract coverage with weekly positioning for selected markets. A coding agent can add report-specific calculations and charts to your project while keeping futures-only and combined observations separate.

### Weekly positioning brief

Identify the relevant contract markets, then summarize open interest and changes in aggregate trader positions. Keep physical commodity and financial market classifications clearly labeled.

### Historical positioning ranges

Check each contract's available dates, then calculate where its current net position sits within its own historical range. Compare like trader categories within the same report type.

### Futures and combined exposure comparison

Match the same contract and reporting week across futures-only and combined reports. Show how including futures-equivalent options changes each trader category's reported position.

### Agricultural purchasing research

Find the relevant corn, wheat, or coffee contracts and prepare a positioning appendix for a purchasing review. Compare broad commercial activity, managed money, and index trader participation in separate tables.

### Research dataset coverage review

Use contract identities and available date ranges to select a study period. Inspect the resulting weekly position series for gaps before calculating changes or historical percentiles.

### Publication date monitoring

Check the latest available report dates for a contract watchlist and refresh its positioning tables when a new reporting week appears. Show the position date prominently in the resulting brief.

### Institutional financial market comparison

Identify currency, Treasury, or equity index contracts and compare asset manager and leveraged fund positioning. Add traditional commercial and noncommercial totals as separately labeled context.

### Agricultural index participation review

Compare index trader positions across selected agricultural contracts. Place the results beside legacy totals and disaggregated trader categories without treating those classifications as interchangeable.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Grok Build guides](https://spiral.ai/integrations/grok-build)

## CFTC legacy futures and options positions in other agents

- [Amp](https://spiral.ai/integrations/amp/cftc-legacy-futures-and-options-positions)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/cftc-legacy-futures-and-options-positions)
- [Claude](https://spiral.ai/integrations/claude-desktop/cftc-legacy-futures-and-options-positions)
- [Claude Code](https://spiral.ai/integrations/claude-code/cftc-legacy-futures-and-options-positions)
- [Cline](https://spiral.ai/integrations/cline/cftc-legacy-futures-and-options-positions)
- [Codex](https://spiral.ai/integrations/codex/cftc-legacy-futures-and-options-positions)
- [Cursor](https://spiral.ai/integrations/cursor/cftc-legacy-futures-and-options-positions)
- [Devin](https://spiral.ai/integrations/devin/cftc-legacy-futures-and-options-positions)
- [dots](https://spiral.ai/integrations/dots/cftc-legacy-futures-and-options-positions)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/cftc-legacy-futures-and-options-positions)
- [Gemini](https://spiral.ai/integrations/gemini/cftc-legacy-futures-and-options-positions)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/cftc-legacy-futures-and-options-positions)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/cftc-legacy-futures-and-options-positions)
- [goose](https://spiral.ai/integrations/goose/cftc-legacy-futures-and-options-positions)
- [Grok](https://spiral.ai/integrations/grok/cftc-legacy-futures-and-options-positions)
- [Hermes](https://spiral.ai/integrations/hermes/cftc-legacy-futures-and-options-positions)
- [Instinct](https://spiral.ai/integrations/instinct/cftc-legacy-futures-and-options-positions)
- [Manus](https://spiral.ai/integrations/manus/cftc-legacy-futures-and-options-positions)
- [Muse](https://spiral.ai/integrations/muse/cftc-legacy-futures-and-options-positions)
- [Muse Code](https://spiral.ai/integrations/muse-code/cftc-legacy-futures-and-options-positions)
- [n8n](https://spiral.ai/integrations/n8n/cftc-legacy-futures-and-options-positions)
- [Notion](https://spiral.ai/integrations/notion/cftc-legacy-futures-and-options-positions)
- [OpenClaw](https://spiral.ai/integrations/openclaw/cftc-legacy-futures-and-options-positions)
- [opencode](https://spiral.ai/integrations/opencode/cftc-legacy-futures-and-options-positions)
- [Perplexity](https://spiral.ai/integrations/perplexity/cftc-legacy-futures-and-options-positions)
- [Raycast](https://spiral.ai/integrations/raycast/cftc-legacy-futures-and-options-positions)
- [VS Code](https://spiral.ai/integrations/vscode/cftc-legacy-futures-and-options-positions)
- [Windsurf](https://spiral.ai/integrations/windsurf/cftc-legacy-futures-and-options-positions)
- [Zapier](https://spiral.ai/integrations/zapier/cftc-legacy-futures-and-options-positions)

## More Grok Build guides

- [CFTC index trader positions](https://spiral.ai/integrations/grok-build/cftc-index-trader-positions)
- [CFTC legacy futures positions](https://spiral.ai/integrations/grok-build/cftc-legacy-futures-positions)
- [CFTC futures positioning](https://spiral.ai/integrations/grok-build/cftc-futures-positioning)
- [CME FedWatch meeting probabilities](https://spiral.ai/integrations/grok-build/cme-fedwatch-meeting-probabilities)
- [CFTC futures and options positioning](https://spiral.ai/integrations/grok-build/cftc-futures-and-options-positioning)
- [CME FedWatch probability history](https://spiral.ai/integrations/grok-build/cme-fedwatch-probability-history)

## Questions about CFTC legacy futures and options positions in Grok Build

**Can Grok Build use CFTC legacy futures and options positions?**

Yes. Add Spiral to Grok Build as an MCP server, and Grok Build can find and run CFTC legacy futures and options positions like any built-in tool.

**How much does CFTC legacy futures and options positions cost in Grok Build?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Grok Build plan is separate.

**Do I need an Alexandria account to use CFTC legacy futures and options positions in Grok Build?**

No. Spiral runs CFTC legacy futures and options positions on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up CFTC legacy futures and options positions in Grok Build?**

About two minutes: add the server, then sign in, then check it.

**Does Grok Build wait while CFTC legacy futures and options positions runs?**

CFTC legacy futures and options positions runs in the background. Grok Build starts the run, checks on it and gives you the json when it's ready.

**How current is CFTC positioning data?**

Reports normally appear Friday at 3:30 p.m. Eastern time and describe positions from the preceding Tuesday. Federal holidays can delay publication by one or two days.

**Why can a contract disappear from COT reporting?**

A contract market drops out when it has fewer than 20 reportable large traders. CFTC adds it again once it reaches at least 20.

**Can I see how a specific fund is classified?**

CFTC does not publish individual traders' COT classifications because of confidentiality restrictions. The reports describe aggregate trader categories.

**How are options counted in combined reports?**

CFTC converts options into futures-equivalent positions using delta factors supplied by exchanges. Combined positions therefore include delta-adjusted options exposure alongside futures.

**How far back does CFTC's historical archive go?**

The source archives reach 1986 for legacy futures-only reports, 1995 for legacy combined reports, and 2006 for Supplemental reports. Individual contracts can have shorter histories.

