consultance.ai
Finance and data

The Claude Quant Desk

A real hedge-fund research desk that runs inside your own Claude Code, on the subscription you already pay for — no Anthropic API key, no Bloomberg terminal, no $300K analyst seat. Seven specialist agents study a stock and argue both sides, a trader proposes ONE concrete strategy, then a real, walk-forward, cost-aware backtest refuses to trade unless that strategy actually beat the market on data it never saw. The refusal is the product: most AI trading bots are built to say buy, this one is built to say no, and to tell you in plain English when the honest answer is just buy the index.

Rent it forever, or own it once.

A real hedge-fund research desk that runs inside your own Claude Code, on the subscription you already pay for — no Anthropic API key, no Bloomberg terminal, no $300K analyst seat

Built on open source
quant-desk (open source — the full 7-agent desk + backtest gate)

The code is public and free. The setup prompt below installs and wires it for you.

Step 1

Paste this setup prompt — Claude installs it for you

Easy mode · paste this into Claude

Claude installs it for you, step by step.

Never used Claude before? It is free to start. Open it in a new tab, copy the prompt, paste it in. It asks one question, then walks you through everything.

  1. Step 1
    Open claude.ai ↗

    Sign up free. No card. Takes 30 seconds.

  2. Step 2

    One click. Lands on your clipboard.

  3. Step 3
    Paste + send

    Claude asks what you need + guides you the rest of the way.

Open claude.ai ↗
Tune the prompt for your level (optional)
Preview the prompt (you do not need to read it)
Install The Claude Quant Desk on my computer. Walk me through it.

Repo: https://github.com/tabani-png/quant-desk
What it does: A real hedge-fund research desk that runs inside your own Claude Code, on the subscription you already pay for — no Anthropic API key, no Bloomberg terminal, no $300K analyst seat. Seven specialist agents study a stock and argue both sides, a trader proposes ONE concrete strategy, then a real, walk-forward, cost-aware backtest refuses to trade unless that strategy actually beat the market on data it never saw. The refusal is the product: most AI trading bots are built to say buy, this one is built to say no, and to tell you in plain English when the honest answer is just buy the index.

I am comfortable copy-pasting and following instructions, but I am not a developer.

Rules:
- Plain English. Define jargon the first time it appears (repo, env var, port, dependency).
- One step at a time. Exact command in a code block. Tell me which app to paste it into (Terminal on Mac, PowerShell on Windows).
- One sentence per command explaining what it does and what success looks like.
- After each command, wait. I will tell you the output before you move on.
- If a tool is missing (git, node, docker, python), give me the one-line install for my OS first.
- If something errors, diagnose before the next step. Do not skip.

First message: ask only "What is your operating system — macOS, Windows, or Linux?" Then start step 1.

Reference steps from the public guide (adapt to my OS, do not just paste them at me):
1. Clone the open-source desk (public, free): git clone https://github.com/tabani-png/quant-desk, then run ./install.sh. It copies the skill and the 7 analyst agents into your Claude Code and sets up a small Python env (yfinance + pandas). There is NO Anthropic API key anywhere — it runs on the Claude Code subscription you already have.
2. In Claude Code, type /quant-desk run AAPL. The desk pulls a year of real prices, runs the market, fundamentals, and news analysts, stages a bull-vs-bear debate, has the trader propose one concrete rule, and the risk manager size it — every step narrated in plain English.
3. The rule then hits the backtest gate: walk-forward (the verdict is decided only on a held-out slice the strategy never saw) and cost-aware. It trades ONLY if it beats holding the S&P 500, has a positive Sharpe, and draws down no worse than holding the stock. Fail any check and the trade is BLOCKED — the AI's opinion does not override it.
4. Optional: place PAPER (pretend-money) trades with free Alpaca paper keys; without them, trades run in DRY RUN and no real money is ever at risk. Prefer no terminal? Copy the 9 prompts below to run the desk by hand in any Claude chat — but only the installed engine runs the REAL backtest on live data.

Stop when the app opens and I confirm it works.
Step 2

Step 1 installed it. Now run these 9 prompts on your own data.

the vault

The 9 prompts

Tap a prompt to jump to it. Hit copy. Replace the tokens. Paste into Claude Opus 4.7.

where it breaks

Before you connect live data

  • • Run dummy data first. Real client data is not a test bed.
  • • API keys never go in a public repo. Use env vars and a secrets manager.
  • • Add logging, access control, monitoring, and a rollback path before launch.
  • • Read the license. Forking a repo without checking is how lawsuits start.
license note

Credit the original author

The quant-desk engine and prompts are open source (github.com/tabani-png/quant-desk), authored by consultance.ai. Two Sigma and other funds are referenced as the incumbent being replaced; no affiliation implied. Free Yahoo Finance data and optional free Alpaca paper trading are used under their own terms. This is an educational tool on a paper account, NOT financial advice; passing the gate is a minimum bar, not a promise of future results.

the newsletter

AI news worth opening.

The AI tools, launches, and shifts that actually matter, in plain English. New library drops the moment they land.

100% freeNo paywall, everUnsubscribe anytime

Want this running in your business, not just your laptop? We build it and hand you the keys.