# Agentic AI Trading For Beginners: A New Money Making Era Is Here <!-- ref: @content/youtube/all-about-ai/2026-06-04-agentic-ai-trading-for-beginners version: 3 updated_at: 2026-10-31T19:21:36.595Z --> All About AI (2026-06-04): The genuinely new capability in agentic trading is not writing a Python trading model — that has always been possible — but having a coding agent *supervise* a running model and rewrite its strategy mid-flight as market structure changes. *Synthesized from All About AI on All About AI, 2026-06-04.* The All About AI host walks through a complete end-to-end agentic trading setup on a live $955 account, framing it explicitly as a hobby and learning exercise rather than a career plan. ## Core Thesis The genuinely new capability in agentic trading is not writing a Python trading model — that has always been possible — but having a coding agent *supervise* a running model and rewrite its strategy mid-flight as market structure changes. The host demonstrates a hybrid architecture: a coding agent researches data and authors a deterministic Python strategy, then a second long-running agent loop monitors that strategy on a fixed cadence and adjusts parameters or swaps the thesis entirely without human intervention. ## Key Insights - **Platform choice is a friction decision.** The host uses Hyperliquid and Polymarket because fiat-based platforms carry heavier onboarding requirements; Robinhood launched a comparable capability the same day as recording, offering a route that avoids stablecoin setup for anyone who prefers it. - **The goal size dictates the risk profile, and therefore the model.** Targeting $100 on a $100 balance forces enormous risk; targeting $10 on a $1,000 balance does not. He treats the target-to-balance ratio as the first input to model design, not an afterthought. - **A `beginner.md` context file bootstraps the whole session.** The host keeps a single markdown file containing the setup, environment variables, and instructions, then opens Codex in YOLO mode inside his `traders/` directory and points it at that file. One prompt — build a framework from this file and our env so we can make a first crypto trade on Hyperliquid — produced a working framework verified against the SDK and docs. - **Prove the connection with a trivial trade first.** Before any data collection, he had the agent place a $10 unleveraged Bitcoin long, confirmed the position appeared on Hyperliquid with entry price and P&L, then exited it. Latency was low enough to be visibly instant. - **Outsource data selection to the model when you are a beginner.** Rather than specifying what to collect, he pasted Hyperliquid's API documentation into a `docs/` folder and asked the agent to decide, given the goal and its own finance knowledge. Codex correctly rejected the monthly S3 archive of deep historical book data as too stale for a same-day model, and instead pulled recent candles, order books, funding, market context, and account risk state via API — writing a timestamped file so backtests stay reproducible. - **The agent's initial backtest was honest about its limits.** It found recent data bearish, reported that a simple 5-minute trend model performed better on shorts than longs under an 8 basis-point round-trip cost assumption, and explicitly stated that this did not guarantee the target. - **Generate multiple competing hypotheses, then have the model rank them.** He asked for three candidate strategies with explicit instructions to be analytical, use math and data, look for edge, and be creative. He got a major-coin short trend basket gated on a 5-minute EMA-20 condition, a HYPE mean-reversion short, and a single aggressive SOL trend bet — each with computed win rates and a ranking. - **The agent pushed back on a risky instruction.** Told it had the full account balance at its disposal, it reinterpreted that as collateral capacity rather than unlimited loss exposure, and capped default margin usage accordingly. - **Codex's `/goal` primitive is what makes the loop autonomous.** Designed for long-running work, the goal prompt he used — itself written by Codex from the conversation so far — instructs the agent to check every two minutes: read logs and state, evaluate the signal, update `status.md`, adjust parameters if needed, and report progress against the profit target. - **The payoff was the strategy flip.** Partway through the run the agent reported that the short setup was repeatedly blocked by a bullish EMA structure and that current market conditions fit a pullback mean-reversion *long* better than the short basket. It abandoned its own initial thesis and entered long positions on ETH, BTC, and SOL at 3x leverage — with no human input. - **Result:** the account went from $955 to $962 over 56 minutes, roughly $6–7 in profit against a $10 target, with 24-hour P&L reported at $6.62. The host is explicit that the money is beside the point; the demonstration was that an agent turned a thesis that had gone stale into a small profit rather than sitting in a losing setup. - **One gap he names against himself:** he had no take-profit configured. The position briefly touched about $12 in profit before he let it run, and the eventual exit was laggy. - The harness is interchangeable — he used Codex but names Claude Code, Open Code, and local models as viable substitutes for the same architecture. ## Actionable Takeaways 1. Start on Hyperliquid or Polymarket to avoid heavier fiat onboarding, or use Robinhood's newer offering if you would rather skip stablecoins entirely. 2. Write a single `beginner.md` holding your platform setup, environment variable names, and working instructions. Feed it as the first context to Codex, Claude Code, or Open Code and let it construct the trading framework. 3. Place a tiny unleveraged test trade (the host used $10 on BTC) and confirm it appears in the exchange UI before writing a single line of strategy code. 4. Set the profit goal and the account balance together, then let the model design around that ratio — it changes which strategies are even admissible. 5. Paste the exchange's API documentation into a `docs/` folder in the repo and have the agent decide what data to collect. Require it to write timestamped data files so backtests are reproducible. 6. Make the agent state its cost assumptions explicitly — the 8 bps round-trip figure is what made the short-vs-long comparison meaningful rather than decorative. 7. Ask for three ranked hypotheses rather than one recommendation, then have the model re-evaluate and defend its pick. The host notes he would normally explore further and look back over a longer window before committing. 8. Use Codex's `/goal` for the supervision loop. Have Codex draft the goal prompt itself from the working session, and include: check interval, read logs and state, evaluate signal, update a `status.md`, adjust parameters, verify account balance directly rather than trusting internal state. 9. Add an explicit take-profit rule to the goal prompt — the omission is the clearest mistake in the demonstrated run. 10. Keep expectations calibrated to a side-hustle scale. The host suggests $100 a month or $100 a week as a reasonable target to aim at, and treats $1,000 a month as too ambitious for this setup. ## Notable Quotes > "Without data, we can't really make any models." — All About AI > "I do this mostly for fun. I don't have any big aspirations of quitting my job." — All About AI > "We can have Codex monitor a trade and make live adjustments over time." — All About AI > "This does not prove probability or guarantee the $10 goal today, but it tells us not to force long-only trades right now." — Codex backtest output, read aloud by All About AI > "We switched our strategy on the fly." — All About AI --- *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).*