# "How My AI Agent Found a 993% Return Polymarket Strategy"
<!--
ref: @content/youtube/all-about-ai/2026-07-24-how-my-ai-agent-found-a-993-return-polymarket-strategy
tags: [prediction-markets, arbitrage, AI-agents, quant-research, Codex, goal-command, data-collection, execution-risk]
version: 2
updated_at: 2026-11-22T13:43:12.566Z
-->

**[Watch on YouTube](https://www.youtube.com/watch?v=bk8RL4_V1Yc)**

# How My AI Agent Found a 993% Return Polymarket Strategy

*Synthesized from All About AI, 2026-07-24; speakers are not named in the source.*

A single unnamed presenter runs the video. The transcript is a rough machine translation, so market terms are sometimes garbled. The 993 percent figure in the title is not explained or computed in the transcript, so it is not repeated as a verified result.

## Core Thesis
The presenter argues that current frontier models are strong at the three ingredients of quantitative research (data, code and math), so an agent run on a subscription can continuously research trading strategies on a prediction market. He shows an arbitrage pattern his agent found and how he sets up a research run to find more.

## Key Insights
- **The strategy.** In a market on a company's market cap at IPO close, he bought "no" at 4.5 cents (42 shares) and "yes" on the opposite side (42.5 shares). Because the event must resolve one way, buying both sides locks in profit: he cites about 38 dollars guaranteed on each side, roughly 75 in total, from about 190 dollars invested in the example. He mentions a "merge" operation that lets him realize the gain without waiting for market close.
- **Execution risk is the catch.** Early on he lost money when only one side of the pair filled, leaving him exposed to losing the initial 1.90 dollars if the outcome went against him. He spent a few days tuning execution parameters, using Codex or Claude to debug, and now avoids many "toxic" one-sided fills. He says there is a lot of competition to get into the queue.
- **Setup for a research run.** Pick a platform with free documentation, a websocket and an open API (he uses Polymarket, noting no account is needed for research). Point the agent at the quickstart docs, use a high reasoning setting (GPT-5.6 high; he says the model brand matters little), and avoid paying per-token API cost where a subscription works.
- **The prompt.** He uses a goal command so the run does not stop early, framing the agent as a professional quant trader: only math and data decide whether a strategy has positive expected value, no gambling, and stop when three strategy hypotheses are found. A bounded goal keeps the run finite.
- **Result of the demo run.** After about 16 minutes it returned three hypotheses on the new combo markets: capturing a one-cent lower bound, trading event-correlation structure, and arbitrage using payout execution.
- **Data question.** He then asks which data is needed and whether it is obtainable. The answer is that open historical data is not enough (it needs request-for-quote records and full quote lifecycle and depth-level trade logs), so he must build his own collection pipeline for several days.
- **Plan before real money.** He expects to use paper or shadow trading first. He says most research leads nowhere but teaches something, that he keeps one research job always running, and that he has invested little so far.

## Actionable Takeaways
1. Set an explicit stopping condition (for example "find three hypotheses") when running long agent research tasks.
2. Ask the agent what data is required and whether it exists before building strategy code.
3. Treat fill risk as the main danger in two-sided arbitrage, and tune execution before scaling.
4. Test with paper or shadow trading and collected data before trading real money.
5. Prefer free, well-documented APIs with websockets for research projects.

## Notable Quotes
> "We need data. Without data, we can't do anything, right?" — Unnamed presenter

> "If you don't give it a goal with a defined end, it can work forever." — Unnamed presenter

---

*Related: `@content/youtube/david-ondrej/tailscale-clearly-explained-beginners-guide` · `@content/youtube/every-inc/we-tested-claude-opus-5-its-frustrating-with-flashes-of-brilliance` · `@content/youtube/cole-medin/omnigent-the-new-meta-harness-for-every-coding-agent-claude-code-codex-pi-more` · `@content/youtube/nate-herk/i-gave-gpt-6-astra-10-000-to-trade-stocks-and-this-happened` · `@content/youtube/every-inc/why-opus-4-8-pulled-me-back-to-claude`*

---

*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).*