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

opencode · Finance

How to Use CFTC Financial futures report, futures only in opencode

Returns weekly CFTC financial futures positions, open interest, trader counts, and changes by trader category. Use it to compare dealers, asset managers, and leveraged funds without options positions included.

Prompts to try with CFTC Financial futures report, futures only in opencode

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

Use CFTC financial futures positions to add a chart to this project showing the past 52 reports of leveraged fund longs, shorts, and calculated net positions in CBOT 10-year Treasury notes.

CFTC Financial futures report, futures onlyopencode
Try asking
  • Use CFTC financial futures positions to build a comparison table for CME Euro FX and Canadian dollar leveraged fund net positions as a percentage of open interest over the latest 13 reports.

  • Use CFTC financial futures positions to write a notebook comparing dealer and asset manager long and short positions in CME E-mini S&P 500 contracts during 2025.

  • Use CFTC Financial futures report, futures only to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from CFTC Financial futures report, futures only and tell me what changed since last week.

How to set up CFTC Financial futures report, futures only in opencode

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

Use Spiral's MCP server

  1. Add the server

    Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

    opencode mcp add spiral --global --url https://api.spiral.ai/mcp
  2. Sign in

    Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    opencode mcp list

Use the Spiral skill

  1. Send opencode 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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run CFTC Financial futures report, futures only

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

Then paste one of the prompts above: opencode finds CFTC Financial futures report, futures only on Spiral, shows the price and runs it.

CFTC Financial futures report, futures only providers and prices

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

AlexandriaFinance

Settings you can ask for

Ask opencode 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 · Financial futures report, futures only is on its tool page: open its card above.

What can you do with CFTC Financial futures report, futures only in opencode?

Build a Treasury, currency, or equity index positioning dashboard from CFTC category totals. Add weekly changes and historical rankings, with separate series for futures-only positions and positions including options.

Weekly Treasury positioning brief

Compare asset manager and leveraged fund long and short positions in CBOT 10-year Treasury notes. Calculate net positions and explain how each category changed from the previous report.

Currency positioning comparison

Compare leveraged fund net positions in CME Euro FX and Canadian dollar contracts. Express each net position as a share of its market's open interest.

Equity index positioning dashboard

Chart dealer, asset manager, and leveraged fund positions in CME E-mini S&P 500 contracts over the past year, with weekly changes beside each series.

Historical positioning extremes

Calculate where the latest Euro FX leveraged fund net position ranks within the preceding three years. Show the historical range and the report date used.

Long and short position change alerts

Flag large weekly changes in leveraged fund Treasury positions, separating increases in longs from decreases in shorts so the alert explains the arithmetic behind a net change.

Futures and options comparison

Compare the same market and report date across the futures-only and combined reports. Show how including delta-adjusted options changes open interest and category net positions.

Questions about CFTC Financial futures report, futures only in opencode

Can opencode use CFTC Financial futures report, futures only?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run CFTC Financial futures report, futures only like any built-in tool.

How much does CFTC Financial futures report, futures only cost in opencode?

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

Do I need an Alexandria account to use CFTC Financial futures report, futures only in opencode?

No. Spiral runs CFTC Financial futures report, futures only 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 Financial futures report, futures only in opencode?

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

Does opencode wait while CFTC Financial futures report, futures only runs?

CFTC Financial futures report, futures only runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

How fresh is CFTC positioning data?

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

Does CFTC cover every financial futures market?

COT coverage requires at least 20 traders with positions meeting CFTC reporting thresholds. TFF focuses on financial contracts such as currencies, Treasury securities, stock indexes, and VIX.

How far back does financial positioning history go?

CFTC's TFF history starts June 13, 2006. Earlier COT history belongs to other report formats, so it does not provide the same TFF category history.

Can I see the positions of a named fund?

Public COT data aggregates positions to protect trader identities. It provides category totals, including dealers, asset managers, leveraged money, other reportables, and nonreportables.

Are options counted as ordinary contracts?

The combined report converts options into futures-equivalent positions using exchange-supplied delta factors. The futures-only report excludes options positions.

Get started

Start using CFTC Financial futures report, futures only in opencode

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

Paste this into opencode:

Set up opencode

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