[Integrations](https://spiral.ai/integrations) › [Google Antigravity](https://spiral.ai/integrations/antigravity) › [CFTC futures and options positioning](https://spiral.ai/integrations/antigravity/cftc-futures-and-options-positioning)

# How to Use CFTC futures and options positioning in Google Antigravity

Returns commercial, non-commercial, and nonreportable positions with options converted to futures equivalents. Use it to study positioning that includes options exposure, rather than futures contracts alone.

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

## Prompts to try with CFTC futures and options positioning in Google Antigravity

- Use CFTC futures and options positioning to create a NYMEX WTI crude oil table in this project with the latest two report dates, open interest, and changes in commercial and non-commercial positions.
- Use CFTC futures and options positioning to add a CBOT corn view comparing old-crop and other-crop positions where available.
- Use CFTC futures and options positioning to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from CFTC futures and options positioning and tell me what changed since last week.
- Check CFTC futures and options positioning and summarize what you find in three bullet points.

## How to set up CFTC futures and options positioning in Google Antigravity

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

### Use Spiral's MCP server

1. **Open the MCP config**: * Antigravity App: click Customizations, then Installed. In the MCP Servers section, click Copy Config File Path and open that file. * Antigravity IDE: click … at the top of the agent side panel, select MCP Servers, then Manage MCP Servers › View raw config. * Antigravity CLI: edit `~/.gemini/config/mcp_config.json`.

2. **Add the server**: Add Spiral under `mcpServers`:

```json
{
  "mcpServers": {
    "spiral": {
      "serverUrl": "https://api.spiral.ai/mcp"
    }
  }
}
```

3. **Sign in**: In the Antigravity App, open Customizations › Installed. Under MCP Servers, click Authenticate next to Spiral. Sign in to Spiral, pick the organization and click Authorize. Copy the authorization code the browser shows, paste it into Enter authorization code and click Submit. No API key.

### Use the Spiral skill

1. **Send Google Antigravity 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 futures and options positioning**: 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/legacy/combined",
    "input": {
      "$limit": 1000
    }
  }'
```

Then paste one of the prompts above: Google Antigravity finds CFTC futures and options positioning on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/antigravity

## CFTC futures and options positioning tools and prices

- [CFTC · Legacy report, futures and options combined](https://spiral.ai/tools/alexandria/cftc/legacy/combined) (Alexandria): $0.001746 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| $limit |  | 1000 | Rows to return. The default is 1,000; the datasets hold hundreds of thousands, so a date or market filter is what keeps a page useful rather than this. |
| $where |  | — | A SoQL filter for anything the column filters cannot say: `report_date_as_yyyy_mm_dd > '2026-01-01' AND commodity_name = 'GOLD'`, `open_interest_all > 100000`, `market_and_exchange_names like '%CRUDE%'`. An unknown column answers HTTP 400 with the failing query echoed back. |
| $offset |  | — | Rows to skip, for paging past `$limit`. |
| $select |  | — | Columns to return, comma-separated, in place of all of them. `count(*)` on its own answers how many rows match. A selected subset no longer matches the declared fields, so read the declared list as what the full row carries. |
| commodity_name |  | — | Commodity name, `GOLD` or `CRUDE OIL`. Exact match, upper case. One commodity can span several markets. |
| cftc_market_code |  | — | Exchange code: `CBT`, `CME`, `NYME`, `CMX`, `ICUS`, `ICEU`. Exact match, and unreliable on its own: a quarter of the rows store the code with trailing spaces (`CMX ` beside `CMX`, the latest gold row among them), and equality on `CMX` misses every one of those. Filter on `cftc_contract_market_code` instead, or use `$where=cftc_market_code like 'CMX%'`. |

## What can you do with CFTC futures and options positioning in Google Antigravity?

Build a gold or crude oil positioning chart from CFTC open interest and trader-category positions. A coding agent can add calculated net positions, historical ranges, and report-date labels to the project's existing views.

### Weekly gold positioning brief

Summarize COMEX gold commercial and non-commercial long and short positions, their changes, and open interest for the latest two report dates.

### Historical positioning range

Calculate where the latest non-commercial net position sits within five years of observations for the same gold market and reporting basis.

### Crude oil positioning monitor

Follow commercial and non-commercial long-minus-short positions in NYMEX WTI crude oil and flag changes that exceed a chosen threshold.

### Concentration review

Compare the reported concentration of positions held by the largest four and eight traders in COMEX gold across recent report dates.

### Corn crop-year comparison

Compare old-crop and other-crop positions for CBOT corn where those breakdowns are available, keeping them separate from the all-contract totals.

### Market participation review

Compare open interest and reportable trader counts for a selected market over a year to describe changes in participation.

### Options contribution comparison

Compare combined and futures-only positions for the same COMEX gold market and date. Describe the difference as a futures-equivalent comparison rather than an options contract count.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Google Antigravity guides](https://spiral.ai/integrations/antigravity)

## CFTC futures and options positioning in other agents

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

## More Google Antigravity guides

- [CFTC financial futures positions](https://spiral.ai/integrations/antigravity/cftc-financial-futures-positions)
- [CFTC futures positioning](https://spiral.ai/integrations/antigravity/cftc-futures-positioning)
- [CFTC financial futures and options positions](https://spiral.ai/integrations/antigravity/cftc-financial-futures-and-options-positions)
- [CFTC index trader positions](https://spiral.ai/integrations/antigravity/cftc-index-trader-positions)
- [CFTC disaggregated futures positions](https://spiral.ai/integrations/antigravity/cftc-disaggregated-futures-positions)
- [CFTC legacy futures and options positions](https://spiral.ai/integrations/antigravity/cftc-legacy-futures-and-options-positions)

## Questions about CFTC futures and options positioning in Google Antigravity

**Can Google Antigravity use CFTC futures and options positioning?**

Yes. Add Spiral to Google Antigravity as an MCP server, and Google Antigravity can find and run CFTC futures and options positioning like any built-in tool.

**How much does CFTC futures and options positioning cost in Google Antigravity?**

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

**Do I need an Alexandria account to use CFTC futures and options positioning in Google Antigravity?**

No. Spiral runs CFTC futures and options positioning 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 futures and options positioning in Google Antigravity?**

About two minutes: open the MCP config, then add the server, then sign in.

**Does Google Antigravity wait while CFTC futures and options positioning runs?**

CFTC futures and options positioning runs in the background. Google Antigravity starts the run, checks on it and gives you the json when it's ready.

**How fresh are CFTC positions?**

Reports generally publish Friday at 3:30 p.m. Eastern and describe positions from the preceding Tuesday. Holidays can move publication, so the latest report is a dated snapshot.

**Why can a market disappear from a report?**

CFTC drops a market when the number of reportable large traders falls below 20. It can appear again when that number returns to at least 20.

**What do the commercial and non-commercial categories mean?**

Legacy reports split reportable traders into these two categories and organize the data by exchange. They describe trader classifications rather than identifying individual trades.

**Does the combined report count options contracts directly?**

It converts options positions into futures equivalents using delta factors supplied by exchanges. A combined position therefore measures a different basis from a count of futures contracts alone.

**What concentration data is available?**

Long-format reports include concentration measures for the largest four and eight traders. They also include crop-year breakdowns where appropriate.

