explaingit

core-trading/world-cup-trading-bot-ts

Analysis updated 2026-05-18

57TypeScriptAudience · developerComplexity · 3/5Setup · moderate

TLDR

A CLI bot that copies trades from chosen whale wallets on Polymarket, built around FIFA World Cup 2026 markets.

Mindmap

mindmap
  root((World Cup Trading Bot))
    What it does
      Copy trading
      Whale wallet tracking
      World Cup markets
    Tech stack
      TypeScript
      Node.js
      Redis
    Use cases
      Mirror whale trades
      Dry run testing
      Manual draw buys
    Audience
      Developers
      Traders

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Automatically mirror trades from designated whale wallets on Polymarket.

USE CASE 2

Test a copy-trading strategy safely using dry-run mode before risking funds.

USE CASE 3

Manually buy the Draw outcome on a specific FIFA World Cup 2026 match.

USE CASE 4

Persist already-seen leader trades in Redis so restarts do not duplicate copies.

What is it built with?

TypeScriptNode.jsRedis

How does it compare?

core-trading/world-cup-trading-bot-tsjlevy/markformpiyushgarg-dev/trpc-monorepo
Stars575757
LanguageTypeScriptTypeScriptTypeScript
Setup difficultymoderateeasyeasy
Complexity3/52/52/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires a funded Polymarket wallet and private key, Redis is optional but recommended for restart safety.

The README does not state a license for this project.

In plain English

This repository is a TypeScript command-line bot that automates copy trading on Polymarket, a prediction market platform where users bet on real-world outcomes using cryptocurrency. The bot is built specifically around FIFA World Cup 2026 match markets, though it can work on other Polymarket markets as well. The core idea is to watch the on-chain activity of wallets you designate as leaders (called whale wallets or super traders), and automatically place matching trades on your own account when those wallets make moves. You configure which wallets to follow, and the bot polls for new activity at a set interval. Four copy strategies are available. The first mirrors trades at a fixed fraction of the leader position size. The second uses a fixed USD amount per copied trade regardless of the leader amount. The third mirrors a percentage of the leader trade size. The fourth only copies trades when the leader position is at or above a threshold you set, then applies a scaling factor. The bot runs as an interactive CLI with a menu. From that menu you can start and stop the copy engine, adjust trade size and strategy, add or remove leader wallets (including importing from the Polymarket leaderboard), check status, and place manual buys on the Draw outcome for specific World Cup matches. A dry-run mode lets you see what the bot would do without committing real funds. Configuration is split between a TOML file (for trade size, strategy, and other settings) and environment variables (for your private key, wallet addresses, and Redis connection details). Redis is optional and used to persist a record of already-seen leader trades across restarts, so the bot does not repeat trades if it is restarted. The README includes a disclaimer noting that prediction market trading carries financial risk, and that Polymarket has geographic restrictions that users must check before connecting.

Copy-paste prompts

Prompt 1
Help me configure the .env and bot.toml files to run this copy trading bot in dry-run mode.
Prompt 2
Explain the difference between the four copy strategies this bot supports.
Prompt 3
Show me how to add and manage leader wallets from the CLI menu.
Prompt 4
Walk me through setting up Redis so the bot persists seen trades across restarts.

Frequently asked questions

What is world-cup-trading-bot-ts?

A CLI bot that copies trades from chosen whale wallets on Polymarket, built around FIFA World Cup 2026 markets.

What language is world-cup-trading-bot-ts written in?

Mainly TypeScript. The stack also includes TypeScript, Node.js, Redis.

What license does world-cup-trading-bot-ts use?

The README does not state a license for this project.

How hard is world-cup-trading-bot-ts to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is world-cup-trading-bot-ts for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.