哆啦龙虾代理:Polymarket 跟单交易自动化 - Openclaw 技能库
作者:互联网
2026-04-04
什么是 哆啦龙虾代理?
哆啦龙虾代理是一个精密工具集,专为 Polymarket 上的机构级预测市场操作而设计。它集成了 duola CLI,可实现无缝的交易员导入、交易同步和自动化执行。该技能是 Openclaw 技能生态系统的基石,为开发者提供了一个强大的框架,用于回测策略并精确管理实盘交易循环。
通过利用此技能,用户可以从手动市场分析过渡到自动化的、基于规则的交易。它处理从通过 doctor 命令进行的诊断健康检查到分离式自动驾驶运行的所有事务,确保在波动的市场条件下实现高可用性和可靠性能。该技能针对生产环境设置进行了优化,支持基于 npm 的安装和结构化风险报告。
下载入口:https://github.com/openclaw/skills/tree/main/skills/duolaamengweb3/duola-quant-copy-engine
安装与下载
1. ClawHub CLI
从源直接安装技能的最快方式。
npx clawhub@latest install duola-quant-copy-engine
2. 手动安装
将技能文件夹复制到以下位置之一
全局模式~/.openclaw/skills/
工作区
/skills/
优先级:工作区 > 本地 > 内置
3. 提示词安装
将此提示词复制到 OpenClaw 即可自动安装。
请帮我使用 Clawhub 安装 duola-quant-copy-engine。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。
哆啦龙虾代理 应用场景
- 基于表现最佳的 Polymarket 交易员自动化跟单策略。
- 进行历史回测,在投入资金前验证交易信号。
- 使用 SkillPay 协议实施计费门控交易服务。
- 监控实时交易同步并生成结构化性能报告。
- 对 API 连接和钱包密钥运行诊断健康检查。
- 验证运行环境并从 npm 安装或更新 duola CLI 以确保兼容性。
- 使用钱包地址注册目标交易员,并分配确定性别名进行跟踪。
- 同步历史交易数据并执行回测,以建立性能基准并调整流动性参数。
- 在上线前运行 doctor 命令以验证 API 连接性、钱包权限和系统就绪情况。
- 通过安全凭据处理和风险配置选择(如平衡型)启动自动驾驶系统。
- 启动具有明确确认的实盘交易循环,并通过结构化 JSON 日志监控状态。
哆啦龙虾代理 配置指南
首先,配置 SkillPay 环境变量以处理 Openclaw 技能框架内的计费集成:
export SKILLPAY_API_URL="https://skillpay.me"
export SKILLPAY_API_KEY="sk_***"
export SKILLPAY_SKILL_ID="77f983da-1eda-4793-b632-f7502d6beb4b"
export SKILLPAY_PRICE_USDT="0.01"
通过 npm 全局安装 duola CLI:
npm install -g duola
验证安装和运行环境:
duola --version
node -v
哆啦龙虾代理 数据架构与分类体系
该技能利用结构化报告合约确保机器可读性,并易于与 Openclaw 技能生态系统中的其他工具集成。
| 数据类别 | 关键指标与元数据 |
|---|---|
| 交易员 (Leader) | 别名、钱包地址和检查元数据。 |
| 同步 (Sync) | 获取、插入和跳过的交易记录计数。 |
| 回测 (Backtest) | 胜率、总盈亏、最大回撤和执行信号计数。 |
| 诊断 (Doctor) | 连接状态、密钥验证和修复步骤。 |
| 自动驾驶 (Autopilot) | 状态、心跳、分离状态和错误日志。 |
name: duola-lobster-agent
description: "Institutional-grade execution playbook for the published `duola` Polymarket copy-trading CLI in lobster-agent workflows. Use when tasks require production-style setup and operation: install/upgrade from npm, leader onboarding, trade synchronization, strategy backtesting, autopilot bootstrap, live loop control, diagnostics, and structured risk/performance reporting."
Duola Lobster Agent
Overview
Execute the standard operating workflow for duola as an agent toolchain. Prefer staged rollout: sync -> backtest -> doctor -> limited live start -> status/log review.
Billing Setup (SkillPay)
Configure once in runtime environment:
export SKILLPAY_API_URL="https://skillpay.me"
export SKILLPAY_API_KEY="sk_***"
export SKILLPAY_SKILL_ID="77f983da-1eda-4793-b632-f7502d6beb4b"
export SKILLPAY_PRICE_USDT="0.01"
Use billing gate with commands that support --billing-user-id. Supported: sync, backtest, follow start, autopilot onboard, autopilot start.
Check billing endpoints from CLI:
duola billing balance --user-id --output json
duola billing charge --user-id --amount 0.01 --output json
duola billing payment-link --user-id --amount 1 --output json
Execution Workflow
1) Verify Runtime and CLI
Run:
node -v
npm view duola version
duola --version
If duola is missing, install:
npm install -g duola
If global install is restricted, run project-local CLI:
npm install
npm run build
node dist/index.js --version
2) Register and Inspect Leader
duola leader add --name
duola leader list --output json
duola leader inspect --output json
Use deterministic aliases and keep one alias per leader address.
3) Sync and Baseline Backtest
duola sync --limit 500 --output json
duola backtest --lookback 30d --fixed-usd 25 --output json
If results are weak, tune before live mode:
- raise
--min-liquidity - increase
--min-time-to-expiry - reduce
--fixed-usd
4) Run Doctor Diagnostics
duola doctor --output json
Require passing API connectivity and secret checks before live mode.
5) Onboard Autopilot (Preferred Live Path)
Use stdin for private key and do not print secrets:
printf '%s' '' | duola autopilot onboard
--name --private-key-stdin --profile balanced --sync-limit 200
Start with explicit confirmation phrase:
duola autopilot start --confirm-live "I UNDERSTAND LIVE TRADING" --detach
6) Operate and Observe
duola autopilot status --output json
duola follow logs --tail 100 --output json
duola autopilot stop --output json
For limited-cycle validation:
duola follow start --confirm-live "I UNDERSTAND LIVE TRADING" --max-cycles 5 --output json
Reporting Contract
Return concise machine-usable summaries:
leader: alias, addresssync: fetched/inserted/skipped countsbacktest: win rate, total pnl, max drawdown, executed signalsdoctor: failed checks and remediationautopilot: status, detach state, heartbeat, recent errors
When live start is blocked, report the exact failed precondition and the next command.
相关推荐
专题
+ 收藏
+ 收藏
+ 收藏
+ 收藏
+ 收藏
+ 收藏
最新数据
相关文章
memory-stack: 3层 AI 记忆架构 - Openclaw Skills
ClawWhisper: 临时多智能体对话 - Openclaw Skills
YouTube API 集成:搜索、播放列表与频道管理 - Openclaw Skills
微信数据技能:读取本地消息与联系人 - Openclaw Skills
TODO Tracker:AI 智能体持久化任务管理 - Openclaw Skills
SEO 优化器:自动化网站审计和元数据 - Openclaw 技能
Search X:AI 智能体实时 Twitter 搜索 - Openclaw Skills
n8n 工作流管理:自动化与控制工作流 - Openclaw Skills
AI 智能体 Google Drive API 集成 - Openclaw Skills
ClawGateSecure:高级安全与提示词注入防护 - Openclaw Skills
AI精选
