Skip to content
pmwallets 0.9.2

pmwallets 0.9.2

Pypi • November 28, 2026

Official PMWallets SDK and CLI: Polymarket smart-money leaderboard, real-time wallet fills over WebSocket with gap replay, webhooks, exports — and a CLI + MCP server so AI agents (Claude Code, Codex, Cursor, …) can follow traders and act on their fills.

pip install pmwallets==0.9.2

Official Python client for PMWallets : the Polymarket smart-money leaderboard computed from the Polygon chain, and the real-time fills of the Polymarket wallets you follow — delivered in order, exactly once, with every gap replayed.

中文说明 · Node.js SDK: pmwallets-node · Ready-to-run copy-trading bot built on it: polymarket-copy-trading-bot-python

Create an API key on pmwallets.com/keys .

Signals and radar (Pro and Max)

For live alerts use SignalStream(client, on_alert).start() , or pmwallets alerts on the command line. Amounts keep two significant figures, times the minute, and traders are named by handle.

One stream per account:

An API-key connection takes priority over the pmwallets.com feed page (the page never takes the stream from it).

Between two API connections the first one keeps the stream . A second one — another key of the same account, or the same bot started twice — is refused: blocked , then fatal , and the stream stops. Pass takeover=True to replace the holder instead; the holder gets replaced , then fatal , and stops (it does not fight back).

A FillStream identifies itself with a random client_id , so its own reconnects after a network drop replace its own dead connection without needing takeover .

When the server restarts it closes the socket with 1012 ; the stream reconnects at once (event restarting ) and replays anything it missed.

HTTPS_PROXY is honoured.

PMWallets' servers are in the United Kingdom. A consumer that also trades on Polymarket should run from Ireland (AWS eu-west-1): Polymarket does not accept API orders from the UK, the US and several EU countries.

AI agents: command line and MCP

The package installs a pmwallets command that prints JSON — for scripts, and for AI agents (Claude Code, Codex, Gemini CLI, Cursor, WorkBuddy, …) that act on the fills of the traders you follow.

watch --exec runs the command once per batch, the fills on its stdin as JSON lines (and in $PMW_BATCH_FILE ); fills that arrive while it runs make the batch. A batch is handed over at most once : one whose command fails, times out or is interrupted is kept in pmw-watch/failed/ and never re-run — the agent may already have placed an order. Restarts resume from where the stream stopped.

To trade, give the agent pmwallets-copytrade : order buy --usdc 5 --key (the same key never orders twice), market , balance , positions .

Platforms without a shell (Dify, Coze, n8n, GPT Actions): import openapi.json .

HTTPS_PROXY / NO_PROXY are honoured by the command line.

MCP config (Claude Desktop, Cursor, Windsurf, WorkBuddy, …):

The same pieces are importable: Watcher , MarketLookup , serve_mcp / McpTool , pmwallets_tools .

Trade-history exports

A purchase is access to files: one zstd-compressed CSV per wallet per UTC day, downloadable at once and again later.

export_file_url(wallet, day) returns the short-lived link instead; the API key is never sent to the storage host.

Polymarket smart-money leaderboard — profitable Polymarket traders scored from the Polygon chain, with win-rate confidence intervals

Polymarket copy trading guide — which wallets are worth following and how to get their fills in time

How to learn from Polymarket smart money — reading a trader's record: confidence intervals, maker vs taker, market specialism

PMWallets API documentation — WebSocket and webhook fill push, fills replay, trade-history exports

Measured fill-push latency — block-to-push p50 / p95, published live

Ways to follow Polymarket wallets, compared — official leaderboard, free trackers, SQL dashboards

PMWallets SDKs — Node.js and Python clients, side by side

Polymarket data in Python — markets, a wallet's trades, and live fills

How to get a Polymarket wallet's trades in real time — polling the Data API, reading OrderFilled events on Polygon, or a pushed fill stream with replay

Polymarket WebSocket API — what the market and user channels give you, and what they don't

Polymarket trade alerts by webhook — verify the HMAC-SHA256 signature, answer fast, deduplicate on eventId

How to export a Polymarket wallet's full trade history — past the Data API's 10,000-trade cap: every fill from the chain, one CSV per wallet per day

Polymarket token IDs, condition IDs and slugs — how they connect

How to calculate a Polymarket wallet's PnL — and why sites disagree

Polymarket leaderboards by category — sports, crypto, politics, esports and more, ranked from on-chain PnL

Busiest Polymarket markets — the 1,000 most-traded markets of the last 30 days and how their traders did

All guides · llms.txt

Release files for pmwallets 0.9.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation .

Source distribution (sdist)

Built distribution (wheel)

Total release size: 152.2 kB

Release files / pmwallets-0.9.2.tar.gz

Provenance describes where a file came from. On PyPI, provenance is shared via attestations , which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Release files / pmwallets-0.9.2-py3-none-any.whl

Provenance describes where a file came from. On PyPI, provenance is shared via attestations , which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Security for pmwallets 0.9.2

Provenance describes where a file came from. On PyPI, provenance is shared via attestations , which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Both files in this release have been uploaded with provenance metadata.

Attestation for pmwallets-0.9.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Attestation for pmwallets-0.9.2-py3-none-any.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

Nov 28, 2026 2 release files Full provenance

Nov 5, 2026 2 release files Full provenance

Nov 5, 2026 2 release files Full provenance

Nov 5, 2026 2 release files Full provenance

Oct 14, 2026 2 release files No provenance

Oct 4, 2026 2 release files Loss of provenance

Sep 28, 2026 2 release files Loss of provenance

Sep 28, 2026 2 release files Loss of provenance

Sep 27, 2026 2 release files Loss of provenance

Sep 26, 2026 2 release files Loss of provenance

Sep 24, 2026 2 release files Loss of provenance

Sep 24, 2026 2 release files Full provenance

Sep 24, 2026 2 release files Full provenance

Extracted Entities

Domains (1)