Qoc
Self-hosted AI trading desk

Trade with Qoc.Your agent can research, decide, and execute.

Qoc turns research, portfolio tracking, and execution into versioned workspace files and agent tasks — driven by the coding agent you already use. Every trade is a commit you approve.

3.2k stars on GitHubopen-source core
qoc — desk/rebalance
agent · maindesk/rebalance-05
Trim single-name risk in semis, keep net exposure flat.

· pulled 14d technicals — NVDA, AMD, TSM, ASML

· sector rotation: semis +2.1σ vs 90d mean

· semis weight 31% → target 24%

proposed commit · rebalance.semis3 orders
SELL60NVDAmarket
BUY25ASMLlimit 812.40
SELL120AMDmarket
guards: max order 5% NAV · day-loss 1.5%
Approve & commitRequest changes

Runs on the agents you already use

Claude CodeMCP serversCLI agentsLocal modelsYour brokers
§ IWhy a coding agent

A trading desk is just files, decisions, and follow-through.So hand it to the agent that already lives in your files.

Qoc gives your coding agent a real desk: connected accounts, market data, risk guards, and a versioned workspace. It reads the same files you do, proposes the trades, and waits for your approval before anything reaches a broker.

Every trade is a commit

The agent proposes orders as a diff. You review, approve, and it executes — with a full, revertible history behind every position.

One account, every venue

Equities, options, crypto, and futures collapse into a single balance sheet. The agent trades against the whole book, not a dozen tabs.

Always on, still yours

Scheduled workspaces run pre-market briefs and end-of-day retros unattended — self-hosted, local-first, nothing leaving your machine unasked.

§ IICapabilities

A full trading stack, in a folder you own.

Browse the docs
Unified Account

Every broker, one account

Connected venues aggregate into a single balance sheet and buying-power figure. Trade the whole book at once.

EQUITIES ••4821 $842,110
CRYPTO ••7730 $180,540
FUTURES ••1002 $126,880
CASH ••0000 $135,000
────────────────────────
NAV $1,284,530
Every Asset

Equities to futures, one risk model

Stocks, options, ETFs, crypto, and futures live under the same guards and the same equity curve.

EquitiesOptionsETFsCryptoFuturesFX
Data Hub

Market data in your files

Quotes, fundamentals, news, and technicals pulled straight into the workspace.

$ qoc data pull NVDA
quotes fundamentals
news technicals
→ entities/NVDA.md
Quant

Indicators and signals

Run technical analysis and retrospectives as agent tools over local OHLCV.

$ qoc run ta NVDA
RSI 61 MACD + ATR 4.2
signal: trend-up (0.72)
Always-on

Workspaces that run themselves

Schedule briefs, sweeps, and retros. The agent runs them and writes results back.

07:30 pre-market brief daily
12:00 news sweep hourly
16:10 EOD retro daily
§ IIIAlways-on

Scheduled workspaces that run without you.

Give the desk a cadence. Pre-market briefs, hourly news sweeps, end-of-day retrospectives — the agent picks up each run, does the work, and writes the results back as files.

  • Cron-style schedules per workspace
  • Unattended runs with the same guards as live trading
  • Every run logged and revertible
Learn more
qoc — schedule
workspaces · always-on5 scheduled · 0 failed
07:30Pre-market briefdailydone
09:35Rebalance checkweekdaysdone
12:00News + RSS sweephourlyrunning
16:10EOD retrospectivedailyqueued
18:00Sector rotation scanweekly · Sunqueued
agent picks up each run, writes results back to the workspace
§ IVResearch memory

Every thesis, tracked and versioned.

Tracked entities are plain files the agent reads and updates — a durable research memory that grows with every session instead of scrolling out of a chat window.

  • One file per ticker, with thesis and tags
  • News and fundamentals fold in automatically
  • Diff the thinking behind any position over time
Learn more
qoc — research/tracked
tracked entities3 of 24 shown
NVDANvidia2h ago

Data-center demand still outrunning supply; watching gross-margin guide.

semisAI
ASMLASML Holdingyesterday

EUV backlog intact. Adding on pullbacks toward the 200d.

semiscapex
AMDAdv. Micro Devices3d ago

Trimmed after the run; thesis intact but crowded into print.

semis
§ VOne account

Every broker in one balance sheet.

Connect your venues once. Qoc rolls positions, cash, and buying power into a single Unified Trading Account, so the agent reasons about the whole book at once.

  • Generic connectors for equities, crypto, and futures
  • Aggregate NAV, exposure, and buying power
  • Guards enforced before any order leaves the desk
Learn more
qoc — account/unified

Net asset value

$1,284,530

+$8,412 today · +0.66%

Equities 66%Crypto 14%Futures 10%Cash 10%
VenueBalanceBuying pwr
Equities••4821$842,110$210,400
Crypto••7730$180,540$54,000
Futures••1002$126,880$88,200
Cash••0000$135,000$135,000
A trading desk used to mean a floor, a terminal, and a team. Now it’s a folder of files and an agent you trust.

Every trade a commit you approve

Hand the desk to Qoc.

Self-host in minutes. Point your coding agent at the workspace and let it research, propose, and execute — every trade a commit you approve.

self-hosted · local-first · V0.73.0 BETA