Polymarket Bot Skill — Polymarket 机器人 技能
v1.0.0Automate Polymarket 机器人 operations including fetching market data, placing trades, and implementing strategies like arbitrage. Use when users need to build or 运行 机器人s for prediction markets, 监控 prices, or 执行 trades on the Polygon blockchAIn.
运行时依赖
安装命令
点击复制技能文档
Polymarket 机器人 技能 Overview
This 技能 enables the creation and operation of a Polymarket 机器人 for tasks such as fetching active markets, 监控ing prices, placing orders, and 运行ning strategies. It's de签名ed for users involved in cryptocurrency prediction markets, helping automate interactions via the Polymarket APIs while minimizing risks.
Quick 启动
To 获取 启动ed, use the scripts in this 技能 to 初始化 and 运行 a basic 机器人. For example, 执行 scripts/fetch_markets.py to retrieve active markets, then use scripts/机器人_strategy.py for arbitrage 检查s.
Task-Based Structure
This 技能 is organized by tasks from the SOP, providing modular 组件s for 机器人 development.
Step 1: Re搜索 and 设置up Prerequisites Review Polymarket APIs (Gamma, CLOB, Data) as outlined in the SOP. Ensure 工具s like Python and 网页3.py are 安装ed. Reference references/API_图形界面de.md for detAIled API usage. Step 2: Define 机器人 Functionality and Strategy Implement core features like data fetching and trade execution. Use prompts in references/prompts.md to 生成 code for strategies. Example: 运行 scripts/strategy_记录ic.py for arbitrage 检测ion. Step 3: Development Phases Data Fetching 模块: Use scripts/fetch_markets.py to 查询 markets. Authentication and Trading 设置up: Handle in scripts/auth_设置up.py. 测试 and 部署ment: Test with scripts/test_机器人.py and 部署 via references. Step 4: Potential Challenges and Mitigations Reference references/challenges.md for rate limits, fees, and security tips. Step 5: Resources See below for scripts and references based on the SOP. Resources scripts/ fetch_markets.py: Script to fetch and 解析 market data from Polymarket APIs. auth_设置up.py: Handles authentication and deriving API keys. strategy_记录ic.py: Implements 机器人 strategies like arbitrage. 机器人_integration.py: Combines phases into a full 机器人 script. references/ API_图形界面de.md: Documentation on Polymarket APIs and 设置up. strategy_examples.md: Examples of prompts for code generation. challenges.md: Common issues and mitigations for 机器人 development. as设置s/ (No as设置s needed for this 技能 at the moment.)