Write a bot that makes markets in Phoenix SPCX (SpaceX) perps against competing makers and informed taker flow, on an offline copy of Solana mainnet.
harbor run -t solana-foundation/market-making-spcxharbor download solana-foundation/market-making-spcxThe agent's bot makes markets in Phoenix's SPCX (SpaceX) perpetual, against Phoenix's own makers and grader-run taker flow.
| Market | Phoenix SPCX perp, mainnet snapshot of 2026-10-29 |
| Sessions | 72 hidden per grade (18 calm, 36 with jumps, 18 trending); 6 practice |
| Mandate | 20 SPCX position cap (about 0.3× collateral); $250 loss limit |
| Bound | Spread bound plus hindsight bound (see Scoring) |
| Reference | Reward ~0.01. It quotes a tick inside the competitor, skews against inventory, and backs off after one-sided fills. |
How every task is scored, and how risk is enforced, is in the dataset README.
A good bot earns the spread from uninformed takers while reading its own fills. It skews against its inventory, and widens or steps back when the flow turns one-sided, so the informed orders ahead of a jump don't run it over.
Trader::oracle_usd reads
the same oracle.| Agent | Reward | What it shows |
|---|---|---|
| oracle (the reference maker) | ~0.01 | The task is solvable, and the reference is calibrated |
| nop (the starter bot) | 0.0 | Doing nothing earns nothing |
| cheater | 0.0 | Cheatcodes through the proxy disqualify; /tests is unreadable; writing the reward file counts as tampering; ignoring SIGTERM doesn't extend a session |
| sneaky | 0.0 | The surfnet's own port answers nothing without its secret path |
just ladder market-making-spcx grades the ladder (checks/) on
fresh hidden sets. Naive and skewed quoters must score below the reference,
and the reference below a flow oracle that is told which taker orders are
informed. The frozen exploit bots must score below the flow oracle.
On two fresh 72-session ladder sets the reference made $279 and $151, the naive quoter lost $11 and $41, and the flow oracle made 14–30× the reference. Agents separate in that headroom: reading the tape beyond their own fills, sizing the lean, and telling bursts from noise.