Spiral gives your agent every tool with one account. Browse the tools →

OpenClaw · Finance

How to Use CFTC futures positioning in OpenClaw

Returns futures-only open interest and positions split into commercial, non-commercial, and nonreportable categories. Use it for futures positioning studies and historical comparisons using CFTC archives extending back to 1986.

Prompts to try with CFTC futures positioning in OpenClaw

Copy an example into OpenClaw, or ask in your own words.

Each Friday after publication, use CFTC futures positioning to check for a new COMEX gold report and summarize commercial and non-commercial net position changes.

CFTC futures positioningOpenClaw
Try asking
  • Each week, use CFTC futures positioning to check CBOT corn and flag when the non-commercial net position moves outside its previous three-year range.

  • Each week, use CFTC futures positioning to report NYMEX WTI crude oil open interest and reportable trader counts when a new report date becomes available.

  • Every Monday at 9am: use CFTC futures positioning to look this up and give me the result as a table.

  • Pull the latest numbers from CFTC futures positioning and tell me what changed since last week.

How to set up CFTC futures positioning in OpenClaw

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

Use the Spiral skill

  1. Send OpenClaw 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 Spiral's MCP server

  1. Add the server

    On the machine that runs OpenClaw's Gateway:

    openclaw mcp add spiral \
      --url https://api.spiral.ai/mcp \
      --transport streamable-http \
      --auth oauth
  2. Sign in

    In Settings › MCP, select Sign in on the Spiral server, sign in to Spiral and click Authorize. No API key.

    openclaw mcp login spiral
  3. Reload and check

    A running Gateway may keep its old tool list: restart it, or Save & Publish in the Control UI.

    openclaw mcp reload
    openclaw mcp doctor spiral --probe

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    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 positioning

    One request; the result comes back by polling or a webhook.

    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/futures-only",
        "input": {
          "$limit": 1000
        }
      }'

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

CFTC futures positioning providers and prices

Spiral runs CFTC futures positioning through Alexandria. Open a card for today's price, with every fee included.

AlexandriaFinance
CFTC · Legacy report, futures only
cftc/legacy/futures-only

Settings you can ask for

Ask OpenClaw for any of these in your prompt.

SettingAllowed valuesDefaultDescription
$limita number1000

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.

$offseta number

Rows to skip, for paging past $limit.

Every API field of CFTC · Legacy report, futures only is on its tool page: open its card above.

What can you do with CFTC futures positioning in OpenClaw?

Receive an updated gold or crude oil positioning brief when a new CFTC report date appears. A scheduled agent can compare positions, open interest, and concentration with the previous report and flag changes against your chosen thresholds.

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.

Questions about CFTC futures positioning in OpenClaw

Can OpenClaw use CFTC futures positioning?

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

How much does CFTC futures positioning cost in OpenClaw?

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

Do I need an Alexandria account to use CFTC futures positioning in OpenClaw?

No. Spiral runs CFTC futures 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 positioning in OpenClaw?

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

Does OpenClaw wait while CFTC futures positioning runs?

CFTC futures positioning runs in the background. OpenClaw 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.

Get started

Start using CFTC futures positioning in OpenClaw

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into OpenClaw:

Set up OpenClaw

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options