Full Polymarket Bot Build | Claude Code Tutorial

Full Polymarket Bot Build | Claude Code Tutorial

More

Descriptions:

This video documents the complete build of an automated copy-trading bot for Polymarket, created through Claude Code without writing a single line of code manually. The creator uses Bullpen’s CLI tool—which provides programmatic access to Polymarket’s leaderboard data, trade execution, and wallet authentication—as the API layer, and walks through every prompt sent to Claude Code from initial installation through a fully functional, looping bot.

The finished bot tracks the top 10 Polymarket traders by weekly P&L, polls their activity every 30 seconds via Bullpen’s tracker, and mirrors buy trades automatically with a fixed $5 position size. Sell logic is proportional to the original trader’s sell percentage. Every trade is logged to a JSON file with market slug, outcome, and amount for performance tracking, and errors are caught per-trade so the loop keeps running. The build concludes with a dashboard feature teased as a follow-up episode.

Beyond the trading bot itself, the video is a practical case study in vibe-coding with Claude Code—describing desired functionality in plain language and iterating through Claude’s clarifying questions to nail down edge cases like position management and sell sizing. The creator uses the `–dangerously-skip-permissions` flag and the `ask_user_question` prompt pattern to keep Claude aligned throughout, offering a replicable workflow for anyone building API-integrated automation tools without a software engineering background.


📺 Source: Sharbel A. · Published April 06, 2026
🏷️ Format: Hands On Build

1 Item

Channels