原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。原型 · 每 30 分钟更新
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

PMWallets copy-trading bot

作者:polymarketwallets版本 0.4.1i★ 0i在你的电脑上运行
注册名称io.github.polymarketwallets/pmwallets-copytrade

安装方法

What it does

Polymarket orders from your own machine: market, balance, positions, buy/sell with limits.

  • Connects 在你的电脑上运行
  • Account or key No key needed
  • Category 会计、财务与税务

安装

选择你使用的 AI 应用,然后复制设置。

通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月13日

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude,但需要先准备

需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用

让 AI 帮你安装

把这段话复制到 Claude 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Claude 安装 MCP server PMWallets copy-trading bot,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "pmwallets-copytrade": { "command": "npx", "args": [ "-y", "pmwallets-copytrade", "mcp", "--config", "your-value" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 PMWallets copy-trading bot 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Node.js(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    node -v
    • 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令

    打开 Node.js 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v

    安装一次,所有需要 Node.js 的工具都能用

  2. 打开电脑版 Claude 应用的设置文件

    SettingsDeveloperEdit Config

  3. 粘贴这些设置并保存文件

    {
      "mcpServers": {
        "pmwallets-copytrade": {
          "command": "npx",
          "args": [
            "-y",
            "pmwallets-copytrade",
            "mcp",
            "--config",
            "your-value"
          ]
        }
      }
    }
  4. 退出 Claude 再重新打开

  5. 试一试

    用 PMWallets copy-trading bot 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 PMWallets copy-trading bot,或回答中出现 PMWallets copy-trading bot 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

ChatGPT 暂时无法连接 PMWallets copy-trading bot

PMWallets copy-trading bot 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器

你可以改用这些方式

A · 使用能连接 PMWallets copy-trading bot 的应用

  • 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
  • 需要先在电脑上安装 Node.js(只需一次)
  • 需要先在电脑上安装 Node.js(只需一次) · 没有一键按钮,需要粘贴设置并自行填写
  • 需要先在电脑上安装 Node.js(只需一次) · 没有一键按钮,需要粘贴设置并自行填写

B · 会计、财务与税务 类中能连接 ChatGPT 的其他服务器

从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的

可连接 Claude Code,但需要先准备

需要先在电脑上安装 Node.js(只需一次)

让 AI 帮你安装

把这段话复制到 Claude Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Claude Code 安装 MCP server PMWallets copy-trading bot,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):claude mcp add --scope user pmwallets-copytrade -- npx -y pmwallets-copytrade mcp --config your-value 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 PMWallets copy-trading bot 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Node.js(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    node -v
    • 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令

    打开 Node.js 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v

    安装一次,所有需要 Node.js 的工具都能用

  2. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  3. 粘贴这条命令并按 Enter

    claude mcp add --scope user pmwallets-copytrade -- npx -y pmwallets-copytrade mcp --config your-value
  4. 在 Claude Code 中输入 /mcp

    应能看到 PMWallets copy-trading bot 在列表中并显示已连接

  5. 试一试

    用 PMWallets copy-trading bot 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 PMWallets copy-trading bot,或回答中出现 PMWallets copy-trading bot 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor,但需要先准备

需要先在电脑上安装 Node.js(只需一次) · 没有一键按钮,需要粘贴设置并自行填写

让 AI 帮你安装

把这段话复制到 Cursor 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Cursor 安装 MCP server PMWallets copy-trading bot,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "pmwallets-copytrade": { "command": "npx", "args": [ "-y", "pmwallets-copytrade", "mcp", "--config", "your-value" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 PMWallets copy-trading bot 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Node.js(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    node -v
    • 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令

    打开 Node.js 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v

    安装一次,所有需要 Node.js 的工具都能用

  2. 打开 Cursor 的 MCP 设置文件

    ~/.cursor/mcp.json

    粘贴这些设置,填写空着的值并保存

    {
      "mcpServers": {
        "pmwallets-copytrade": {
          "command": "npx",
          "args": [
            "-y",
            "pmwallets-copytrade",
            "mcp",
            "--config",
            "your-value"
          ]
        }
      }
    }
  3. 在 Cursor 中以 Agent 模式打开 AI 聊天

  4. 试一试

    用 PMWallets copy-trading bot 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 PMWallets copy-trading bot,或回答中出现 PMWallets copy-trading bot 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code,但需要先准备

需要先在电脑上安装 Node.js(只需一次) · 没有一键按钮,需要粘贴设置并自行填写

让 AI 帮你安装

把这段话复制到 VS Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 VS Code 安装 MCP server PMWallets copy-trading bot,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "servers": { "pmwallets-copytrade": { "type": "stdio", "command": "npx", "args": [ "-y", "pmwallets-copytrade", "mcp", "--config", "your-value" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 PMWallets copy-trading bot 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Node.js(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    node -v
    • 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令

    打开 Node.js 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v

    安装一次,所有需要 Node.js 的工具都能用

  2. 打开 VS Code 的 MCP 设置文件

    MCP: Open User Configuration

    粘贴这些设置,填写空着的值并保存

    {
      "servers": {
        "pmwallets-copytrade": {
          "type": "stdio",
          "command": "npx",
          "args": [
            "-y",
            "pmwallets-copytrade",
            "mcp",
            "--config",
            "your-value"
          ]
        }
      }
    }
  3. 在 VS Code 中以 Agent 模式打开 AI 聊天

  4. 试一试

    用 PMWallets copy-trading bot 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 PMWallets copy-trading bot,或回答中出现 PMWallets copy-trading bot 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 PMWallets copy-trading bot 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

安装在电脑上

Claude Code

claude mcp add --scope user pmwallets-copytrade -- npx -y pmwallets-copytrade mcp --config your-value

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "pmwallets-copytrade": {
      "command": "npx",
      "args": [
        "-y",
        "pmwallets-copytrade",
        "mcp",
        "--config",
        "your-value"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "pmwallets-copytrade": {
      "command": "npx",
      "args": [
        "-y",
        "pmwallets-copytrade",
        "mcp",
        "--config",
        "your-value"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "pmwallets-copytrade": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "pmwallets-copytrade",
        "mcp",
        "--config",
        "your-value"
      ]
    }
  }
}

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

一览

每周下载量i
982/周
连接方式
在你的电脑上运行
最新版本i
0.4.1
发布到注册中心i
2026年10月14日
代码最后更新i
2026年11月5日
作者
polymarketwallets
软件包
npm: pmwallets-copytrade
pypi: pmwallets-copytrade
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

在你的电脑上运行,适用于

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

全部应用及其优缺点 →

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月16日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 polymarketwallets 验证,该账户拥有此仓库

  • ✓ 通过

    仍在维护

    代码最后更新于11天前

  • ✓ 通过

    有许可证

    使用 MIT

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

已公开的漏洞(OSV.dev)

OSV.dev 中没有 pmwallets-copytrade@0.4.1 的记录

只检查这个版本的包本身,不包括所有依赖 · 检查于 2026年11月15日

我们检查什么 → · JSON

作者:申请重新检查或报告信息错误

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

登录后发帖

用户评价

还没有评价

登录后写评价

与“会计、财务与税务”中的其他服务器比较i

  • 星标数多于此分类中其他 3274 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 3274 个服务器的 49% 更新
  • 基础检查结果等于或优于此分类中其他 3274 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

PMWallets copy-trading bot 安全吗?

它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于11天前,最新版本(0.4.1)于33天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js, Python (uv)。

有什么可以替代它?

同一分类中有:SolidInvoice, Signal8, Journalit, Tapetide - Indian Stock Market MCP, Twelve Data

功能相近的其他选择

同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

SolidInvoice

Create and send invoices and quotes, manage clients, and track payments in SolidInvoice.

作者:SolidInvoice正在增长★ 9897天前更新

在云端运行✓ 服务方 · solidinvoice.co

Signal8

SEC filings, dilution, insider & institutional ownership, and political-trade data for AI agents.

作者:signal8ai正在增长↓ 431/周★ 4257天前更新

电脑或云端✓ 服务方 · signal8.ai

Journalit

Trading journal in Obsidian. Ask Claude or ChatGPT about your trades; edits are previewed first.

作者:Cursivez正在增长★ 2588天前更新

在云端运行✓ 服务方 · journalit.co

Tapetide - Indian Stock Market MCP

48 tools for ~8,000 NSE & BSE stocks: quotes, screener, financials, filings, FII/DII, options

作者:Tapetide-hq正在增长↓ 184/周★ 15119天前更新

电脑或云端✓ 服务方 · tapetide.com

Twelve Data

Real-time and historical market data: stocks, forex, crypto, ETFs, fundamentals and 60+ indicators.

作者:twelvedata正在增长★ 8612天前更新

在云端运行✓ 服务方 · twelvedata.com

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Polymarket copy-trading bot (Node.js / TypeScript)

A ready-to-run Polymarket copy-trading bot built on PMWallets: it follows the traders you subscribe to and mirrors their fills on the Polymarket CLOB with your own account, inside the limits you set.

pmwallets-copytrade on npm · 中文说明 · Python version: polymarket-copy-trading-bot-python · SDK: pmwallets-node

What the bot does

  1. You pick the traders on pmwallets.com: filter the board by the lower bound of the win-rate confidence interval, profit without the single best market, activity and style, then subscribe.
  2. The bot receives every fill of those traders over the PMWallets WebSocket, typically within a second of the block (measured latency). Missed frames are detected (session/seq) and replayed from the last fill handled, including everything that happened while the bot was down.
  3. It mirrors them on Polymarket with your own account, inside the limits you set. Your keys never leave your machine; PMWallets never sees them and never places orders.

Quick start

# Node.js ≥ 20

npm install -g pmwallets-copytrade pmwallets-copytrade init # writes config.yaml export PMW_API_KEY=pmw_... # https://pmwallets.com/keys pmwallets-copytrade run # dry-run: logs every decision, trades nothing

When the dry-run log looks right, switch to live:

mode: live

polymarket: privateKey: ${POLY_PRIVATE_KEY} # signs your orders signatureType: 3 # see "Set up a Polymarket account for the bot" funderAddress: ${POLY_FUNDER_ADDRESS} # your Polymarket profile address (holds the USDC)

pmwallets-copytrade status prints open positions, today's spend and any order still being confirmed. If the bot cannot establish by itself whether an order filled, it keeps the order's reservation (no further BUY can exceed your limits because of it) and asks you: check polymarket.com and run pmwallets-copytrade reconcile --none or --filled --usdc with the bot stopped. Every decision — including each skip and its reason — is appended to pmw-data/decisions. .jsonl, and everything the bot prints also goes to pmw-data/bot. .log.

Something went wrong? Run pmwallets-copytrade diagnose and email the pmw-diagnose- .json.gz it writes to support@pmwallets.com, with a line about what happened. The file has the bot's version, the check result, your config with the keys removed, the state files and the newest logs and decisions. It contains no private key or API key (they are removed by name, then by value from the whole file), but it does show your wallet addresses, the traders you copy, your trades and your machine's IP. Never send `config.yaml` or `.env` themselves.

How it decides

The rules come from a copy-trading bot that ran live on Polymarket; each one is there because of a lost trade or a rejected order.

BUY (the trader bought)

  • skip fills older than maxFillAgeSec (a replay after downtime must not buy history), below minTargetNotionalUsdc, or from a role you excluded;
  • one copy per trader transaction, one position per (trader, outcome), at most maxBuysPerOutcome buys into it (DCA), maxOpenPositionsPerTarget / maxOpenPositions / maxDailySpendUsdc caps;
  • the market must be open, accepting orders and not settle within minSecondsToEndDate;
  • the best ask must sit in [minPrice, maxPrice], be at most maxSlippage above what the trader paid, and the book must hold minBookDepthUsdc;
  • order: fill-or-kill for an exact number of shares at the best ask (orderSizeUsdc / ask), rounded so the CLOB accepts it. Share-denominated on purpose — a USDC-budget market order can overfill.

SELL (the trader sold)

  • sellMode: all exits everything the bot bought following that trader in that outcome. Shares booked to another trader in the same outcome are never sold: the most it sells is your token balance minus what the other traders hold. If that comes to nothing, it stops and asks you to reconcile;
  • the exit is saved and retried (with backoff, across restarts) until the position is gone. Freshness does not apply: if the trader left while the bot was down, it still gets out;
  • order: fill-and-kill at the best bid — a partial exit beats none, and the rest is retried.

Polymarket V2 markets (canary markets now; every new market from 2026-11-02)

  • the same rules, on Polymarket's new exchange (ExchangeV3, with the shares held in PositionManager instead of Conditional Tokens). Which exchange a market trades on comes from the CLOB market's version, and it must agree with the shape of the outcome id (a V2 position id is not a hash). If they disagree — or the CLOB does not say for an id shaped like a V2 position — the BUY is skipped (skipped_market_version) and an exit is kept and retried: the bot never guesses which exchange to sign for;
  • combos (multi-leg parlays) are quoted by RFQ and never trade on the order book: always skipped (skipped_combo);
  • they need approvals of their own — see the account section below.

Safety

  • dry-run by default; live needs an explicit mode: live;
  • at most once: a fill is marked decided in the state file *before* any order is sent, so a crash can miss a copy but never place it twice. One bot per data directory: a second instance refuses to start;
  • no lost fills: every order is saved as *pending* before it is sent. An order the exchange reports as killed (such replies have carried real partial fills) is looked up again by its order id with backoff until its fill — or its absence — is certain, even across restarts. One that got no answer at all has no id to look up: if a matching trade appears, the bot does not guess whose it is (it could be yours by hand, or another trader's copy) and hands it to you to reconcile;
  • resolved markets are swept every 10 minutes so they stop counting against the caps.

Where to run it. PMWallets' servers are in the United Kingdom, but Polymarket does not accept new API orders from the UK, the US, Germany, France and several other countries (Polymarket: geographic restrictions). Ireland (AWS eu-west-1) is the nearest region where it does — close to our servers and to Polymarket's in London. check reports whether your machine's region is allowed. Measured latency: https://pmwallets.com/latency.

One stream per account, and the bot comes first. PMWallets keeps one WebSocket per account. A connection made with an API key (the bot) takes priority: the live-feed page on pmwallets.com never takes the stream from it — while the bot is connected the page says so and stays off. Between two API connections the first one keeps the stream: a second bot on the same account (another key, or the same bot started twice) is refused and stops with a clear error. To move the stream to a new bot on purpose, set pmwallets.takeover: true on the new one — the old one is told it was replaced and stops. A bot's own reconnects after a network drop never need this. When PMWallets restarts its stream service the bot reconnects at once and replays anything it missed.

Follow smart-money signals (optional, off by default)

On a Pro or Max account the bot can buy when a PMWallets signal fires: several tracked wallets buying the same side in a short time. Turn on signals in the config:

signals:

enabled: true source: official # official = the PMWallets list; mine = your own rule on pmwallets.com orderSizeUsdc: 10 # USDC spent on each signal minWallets: 3 # skip signals backed by fewer wallets minTotalUsdc: 5000 # skip signals whose wallets bought less than this in total maxAgeSec: 120 # don't buy a signal older than this maxSlippage: 0.05 # skip if the best ask is this far above the wallets' average entry maxOpenPositions: 5 # outcomes held from signals at once categories: [] # e.g. [sports, politics]; empty = all exitOnFading: false # true = sell when the wallets have sold half (seen for 6 hours after the signal); false = hold to settlement

In `live` mode this places real orders. Run it in dry-run first and read the decision log. risk.maxDailySpendUsdc, copy.maxOpenPositions, copy.minPrice/maxPrice, copy.minBookDepthUsdc and the settlement limits all still apply. A signal is handled once and an outcome is bought once. Signals are read every pollSec seconds, so the price may have moved.

For AI agents and scripts

Besides run, the bot has one-off commands that print JSON, so an AI agent (or a script) can decide and trade by itself — for example on the fills pmwallets watch --exec hands it. They use the same config; its mode decides: dry-run simulates each order against the live order book and sends nothing, live trades.

pmwallets-copytrade market <tokenId>       # question, outcomes, prices, order book

pmwallets-copytrade balance # USDC to trade, approvals pmwallets-copytrade positions # open positions, value, PnL pmwallets-copytrade trades --limit 20 pmwallets-copytrade order buy --usdc 5 --max-price 0.45 --key pmwallets-copytrade order sell --all --min-price 0.40 --key :exit pmwallets-copytrade mcp --config /abs/path/config.yaml # the same as MCP tools

  • BUY is fill-or-kill; --usdc is a ceiling (sized at the limit, so the order cannot cost more). SELL is fill-and-kill, capped at what the account holds.
  • --key makes retries safe: the key is written to dataDir before the order is sent, and the same key never sends a second order. Use the fill's eventId.
  • status: unknown (or verify: true) means the order may have filled — check trades before sending another. Exit code 0 = filled or dry_run, 2 = not traded, 3 = unknown.
  • These orders are your own trades: the bot's books (positions, daily cap) do not count them. Don't sell with them what a running bot is holding for a target.

Configuration

pmwallets-copytrade init writes a commented config.yaml. ${NAME} in the file is replaced by the environment variable NAME; a missing variable stops the bot at start-up. Invalid values are rejected at start-up, never silently ignored.

Set up a Polymarket account for the bot (recommended)

Give the bot an account of its own, holding only what you are willing to let it trade. This is the setup we recommend and document; follow it step by step:

This setup has been tested with real money — a MetaMask (or other browser-wallet) account connected

on polymarket.com, signing with that wallet's own private key. Accounts made with email or Google, the older

Safe / Proxy accounts and plain wallets are supported by the code, but we have not run them live. If you can,

make a new account as below rather than reusing one of those.

  1. Create a new wallet account in MetaMask (or Rabby): account menu → *Add account*. Use it for nothing but this.
  2. Sign up on [polymarket.com](https://polymarket.com) by connecting that wallet (choose MetaMask in the sign-in dialog). Every account created on polymarket.com since 2026-05-04 gets a **Deposit W

只显示了开头部分;其余内容请在仓库中阅读