whatisgithub

What is polymarket-quick-trade?

jameslhw/polymarket-quick-trade — explained in plain English

Analysis updated 2026-05-18

47PythonAudience · developerComplexity · 3/5Setup · moderate

In one sentence

A keyboard-driven quick-trade panel for Polymarket prediction markets with a real-time onchain leaderboard of large traders.

Mindmap

mindmap
  root((repo))
    What it does
      Quick trade panel
      Onchain leaderboard
    Tech stack
      Python
      Polygon
      Alchemy API
    Use cases
      Fast market orders
      Whale tracking
    Audience
      Traders
      Developers

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

Place fast up or down trades on short-duration Polymarket BTC or ETH markets using keyboard shortcuts

USE CASE 2

Track a watchlist of onchain wallets and see their net position ranking and profit history

USE CASE 3

Export each round's position data to CSV for further analysis

What is it built with?

PythonPolygonAlchemy API

How does it compare?

jameslhw/polymarket-quick-tradelucasmantou/codex-proxyvincci-wenxi/vincci-knowledge-network
Stars474747
LanguagePythonPythonPython
Setup difficultymoderatemoderatemoderate
Complexity3/52/52/5
Audiencedeveloperdevelopergeneral

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

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires an Alchemy API key and a Polymarket wallet private key stored in a local .env file.

So what is it?

This project is a quick trading panel for Polymarket, a prediction market platform, combined with an onchain leaderboard that tracks large traders in real time. It is built by someone who describes it as a tool they personally use often, and the README notes it is stable in daily use. The panel is designed around keyboard shortcuts for fast order placement: arrow keys buy up or down positions, Q and W sell all of your up or down positions, and number keys 1 through 5 pick a trade amount from 5 to 100 dollars. You can quickly switch between short-duration BTC and ETH markets on 5 minute, 15 minute, and 1 hour timeframes, and the panel supports configuring multiple trading accounts that you can switch between with one click. The leaderboard's key idea is how it calculates net positions. Instead of relying on Polymarket's own data API, which the author says only captures trades made as a taker, the tool scans TransferSingle events directly from the CTF contract on the Polygon blockchain. This lets it also catch maker orders and direct wallet transfers, producing what the author calls a more complete net position ranking. The leaderboard uses emoji to flag notable addresses: medals for the top three net holders this round, a whale icon for addresses you add to a tracked watchlist (which also pulls that address's Polymarket username and historical profit and loss), a balance icon for addresses holding both sides of a position, and a fire icon for addresses on a winning streak across recent rounds. Tracked wallet addresses can be edited in a text file that hot-reloads without restarting the script, and the tool caches usernames locally to avoid hitting Polymarket's API too often. Each round's full position data, including buy-in block details, is saved to CSV files for further analysis. Running it requires Python 3.10 or newer, an Alchemy API key for reading Polygon chain data, and your Polymarket trading wallet's private key placed in a local environment file that is excluded from version control. Starting the script launches a local web panel at localhost port 8890.

Copy-paste prompts

Prompt 1
Help me set up the .env file with my Alchemy key and wallet private key for this trading panel
Prompt 2
Explain how this tool calculates net positions using CTF contract TransferSingle events
Prompt 3
Walk me through adding an address to the tracked_whales_list.txt watchlist

Frequently asked questions

What is polymarket-quick-trade?

A keyboard-driven quick-trade panel for Polymarket prediction markets with a real-time onchain leaderboard of large traders.

What language is polymarket-quick-trade written in?

Mainly Python. The stack also includes Python, Polygon, Alchemy API.

How hard is polymarket-quick-trade to set up?

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

Who is polymarket-quick-trade for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.