AAPL298.87+1.38%·BTC79,527+0.19%·NVDA225.83+2.29%·ETH2,255+0.02%·SPY742.31+0.56%·TSLA445.27+2.73%·EUR/USD1.1708−0.07%·XLE57.63+0.10%·GLD430.50−0.56%·SOL90.75−0.13%·AAPL298.87+1.38%·BTC79,527+0.19%·NVDA225.83+2.29%·ETH2,255+0.02%·SPY742.31+0.56%·TSLA445.27+2.73%·EUR/USD1.1708−0.07%·XLE57.63+0.10%·GLD430.50−0.56%·SOL90.75−0.13%·

Open-source · AGPL-3.0 · self-hosted

Tradewithcode

Your research desk, quant team, trading floor, and risk officer — all on your laptop. Open source, audited by you, deployed in minutes.

OpenAlice interface

§ II — Capabilities

A complete trading firm,
running locally.

Five primitives that turn an LLM into something that can actually hold a portfolio without setting it on fire.

~/portfolios/main · alice
live
$ alice trade --commit
a1f9c0dstagebuy AAPL · 200 sh · stop @ 187.50
pre-commit ✓ risk · drawdown 0.4% within bounds
7d4e2bbcommitexit XLE on RSI<30 within 24h
review ✓ awaiting human approval
9b2c4a1pushorder routed → IBKR
approved by you · 2s
stagecommit push

Unified Account

UTA

Every broker, one ledger.

IBKR · equities$48,210.04
Binance · spot₿ 0.4126
OANDA · fx€ 12,300.00
Tradovate · fut$ 7,840.50
Σ net$ 71,094.18

Every Asset

6 classes

Stocks, crypto, forex, options, futures, ETFs.

StocksCryptoForexOptionsFuturesETFs

TypeBB

in-process

A market-data engine that lives inside the agent. No API hops, no rate-limit anxiety — Alice asks her own brain.

$ typebb.fundamentals("AAPL") → 4ms
$ typebb.bars("BTC", "1m") → 1.2ms
$ typebb.news("NVDA") → 18ms

Event-driven

24 / 7

Cron, heartbeats, snapshots — Alice never sleeps.

cron · beat · snap

A trading desk used to mean a building, a Bloomberg, and twelve people in shirts.
Now it's a folder on your machine.

One person, one repo, one agent.

Your turn

Hand the desk to Alice.

Clone the repo, drop in your API keys, describe the strategy in English. She takes it from there.