# Codex 5.5 vs Claude Opus 4.7 Polymarket Trading Challenge <!-- ref: @content/youtube/all-about-ai/codex-5-5-vs-claude-opus-4-7-polymarket-trading-challenge tags: [AI coding agents, autonomous trading, Claude Code, Codex CLI, model comparison, Polymarket, agent experiments] version: 3 updated_at: 2026-11-24T04:27:44.102Z --> **[Watch on YouTube](https://www.youtube.com/watch?v=6UBGecQTsZE)** # Codex 5.5 vs Claude Opus 4.7 Polymarket Trading Challenge *Synthesized from All About AI, 2026-05-25; speakers are not named in the source.* The channel's single presenter runs a head-to-head test of two coding agents: Claude Code on Opus 4.7 and Codex CLI on GPT 5.5, both on high thinking. No other people appear in the source. ## Core Thesis The presenter tests whether a coding agent given the same prompt, documentation and clock can trade profitably on Polymarket's 5-minute Bitcoin up/down markets. In this single one-hour run, the Codex agent finished about $14 up and the Claude Code agent finished about $10 down, after the Claude agent switched to high-risk bets once it was told it was losing. ## Key Insights - **Setup.** Each agent got its own Polymarket wallet funded with roughly $50 (Claude's wallet started near $50 and Codex's near $52). Gas in MATIC had to be sent to the Claude wallet before trading. Both agents first ran in plan mode and produced a research-based strategy before any code was built. - **Scoring.** The challenge measured net dollars gained over one hour, not the ending balance. The prompt stated that making no trades meant automatic loss and that a bot must run uninterrupted for the full hour. - **Codex strategy.** Bet on the Polymarket sentiment for each window, comparing the Chainlink end price with the window start price. It estimated the probability of "up" from time left and BTC volatility, then traded when the market mispriced that probability. - **Claude strategy.** Buy late in the 5-minute window, once the outcome is nearly settled, at prices such as about 80 cents. The presenter described it as a boring, low-risk approach. - **Early results.** Claude had a bad trade that it recovered from, moving its starting $50 to $51. About 30 minutes in, the Claude agent was roughly $10 behind Codex, and it began taking large bets. One single trade lost about $28. - **Final result.** Codex ended about $14 up. Claude ended about $10 down, with a balance of roughly $14 at one point before a further $25 loss. - **Caveats.** The presenter said he intervened by restarting bots and by telling Claude it was losing, which likely pushed the Claude agent into riskier trades. He called the result a single, fun experiment and not a rigorous benchmark. - **Next steps.** The presenter may run more of these tests, including open-source models and longer, more constrained strategies, depending on audience interest. ## Actionable Takeaways 1. Give each agent the same prompt, the same documentation and the same time window, and score them on net dollars gained rather than ending balance. 2. Fund on-chain bots with gas before launch; the Claude wallet needed MATIC before it could trade. 3. Plan first: run both agents in plan mode, review the strategy, then build a side-by-side monitoring UI before starting. 4. Avoid mid-run pressure prompts. Telling an agent it is losing appears to have triggered higher-risk trading. ## Notable Quotes > "If you don't make any trades, you will automatically lose the challenge." — the presenter, reading the prompt given to both agents > "So without any doubt, the winner was of course Codex 5.5 on high setting." — the presenter --- *Related: `@content/youtube/zazencodes/build-your-own-ai-software-factory-with-claude-code` · `@content/youtube/sean-kochel/opus-4-7-is-insanely-powerful-and-insanely-expensive` · `@content/youtube/yifan-bth/i-reverse-engineered-claude-code-learn-these-agent-tricks` · `@content/youtube/yifan-bth/the-complete-claude-code-workflow-90-skip-this` · `@content/youtube/david-ondrej/hermes-goal-is-insane-just-watch`* --- *You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).* *Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*