# Agentic AI Trading On Hyperliquid For Beginners (Codex 5.5)
<!--
ref: @content/youtube/all-about-ai/agentic-ai-trading-on-hyperliquid-for-beginners-codex-5-5
tags: [algorithmic trading, backtesting, Hyperliquid, AI agents, Codex, overfitting, Sharpe ratio]
version: 2
updated_at: 2026-11-24T05:22:38.357Z
-->
**[Watch on YouTube](https://www.youtube.com/watch?v=QO3kQcIdtl8)**
# Agentic AI Trading On Hyperliquid For Beginners (Codex 5.5)
*Synthesized from All About AI; speakers are not named in the source.*
The presenter, who runs the All About AI channel, walks through setting up one small, isolated AI-driven trading strategy ("pod") on Hyperliquid using Codex 5.5. No guests appear.
## Core Thesis
The presenter's method is to have Codex propose, backtest and stress-test several small strategies on one asset, and to run only those that survive robustness checks as isolated pods. His own example ends with a Bitcoin strategy that failed its first optimization, was replaced by a second candidate with a Sharpe ratio of 1.12 after friction, and was then run live at a small size. He describes it as not production ready.
## Key Insights
- **Pod concept.** Many small autonomous strategies, each isolated, stacked so that a few profitable pods can offset others; a losing pod is swapped out for a new one.
- **Connection.** Codex 5.5 (extra-high setting) is connected by API to the Hyperliquid account so it can control the profile.
- **Strategy shortlist.** For BTC/USD, Codex proposed three strategies: a volatility-targeted trend breakout, an intraday volatility-band mean reversion, and a funding-premium carry.
- **Data and first backtest.** Hyperliquid historical data was collected back to 2023, producing 51 files of perpetual and spot candles, funding history and metadata. The first backtest of the 4-hour trend breakout reported about 50% net, with a Sharpe ratio the presenter found too high to trust.
- **Robustness check.** A second prompt asked for optimization toward a Sharpe ratio of at least 1.2, checks for overfitting, walk-forward and Monte Carlo tests. The result was rejected: the best optimized version reached only a Sharpe of 0.4, which the presenter attributes to a short data window rather than a real edge.
- **Second candidate.** New strategies were generated (funding premium crowding reversal, session-gated intraday momentum, post-squeeze volatility expansion). The best was a US late-session reversal on 15-minute candles with a 2x cost-spread Sharpe of 1.12. Its last four walk-forward windows lost money, which the presenter notes.
- **Live setup.** The pod uses a $50 entry with no leverage, holds for about two hours, and is tracked by a simple dark-mode HTML page. A test trade was opened and cancelled after 10 seconds to confirm the wiring.
- **Sharpe guide.** The presenter gives a rough guide that a Sharpe ratio between one and two is good.
## Actionable Takeaways
1. Ask the coding agent for several candidate strategies, then backtest each with the same framework before picking one.
2. Set a numeric acceptance bar before optimizing (the presenter used a Sharpe of 1.2) and reject candidates that miss it after overfitting and walk-forward checks.
3. Treat a single short-window backtest result as a likely artifact until walk-forward and Monte Carlo tests confirm it.
4. Test the order path end to end with a tiny trade and an automatic cancel before running a live strategy.
5. Keep position size small and track each isolated strategy separately so one losing pod does not dominate.
## Notable Quotes
> "But, now that we actually run this, we only ended up with a sharp ratio of 0.4." — the presenter (not named in the source)
> "Reject the current strategy form." — the presenter (not named in the source)
---
*Related: `@content/youtube/david-ondrej/fine-tune-the-biggest-open-source-models-even-with-a-bad-pc` · `@content/youtube/david-ondrej/tailscale-clearly-explained-beginners-guide` · `@content/youtube/nate-herk/how-claude-is-creating-a-new-generation-of-millionaires` · `@content/youtube/every-inc/we-tested-claude-opus-5-its-frustrating-with-flashes-of-brilliance` · `@content/youtube/eo-global/the-problem-with-ai-agents-no-one-is-talking-about-yutori-abhishek-das`*
---
*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).*