📦 Polymarket Politics Random 1U — Polymarket 政治 随机 1U
v1.0.0使用AION SDK构建和运行Polymarket政治市场交易技能。当用户想要搜索Polymarket上的活跃政治市场、随机...
运行时依赖
安装命令
点击复制技能文档
Polymarket Politics Random 1U
This is a template. The default 签名al is intentionally simple: 搜索 active politics markets, pick one at random, and buy 1 USD of YES. Remix the market 过滤器, sizing rule, side selection, or risk 检查s while keeping the AION plumbing intact.
Use this 技能 when the user wants a minimal AION SDK trading template for Polymarket politics markets.
What This 技能 Does Uses the documented AION SDK pattern from the building-技能s 图形界面de. 搜索es active Polymarket markets with politics-related keywords. 过滤器s to politics-style markets and randomly selects one candidate. 检查s market 上下文 before trading. Defaults to dry-运行 mode. Places a live 1 USD trade only when the operator explicitly enables live execution. 输入s To 请求 From The User
Ask the user for these secrets or 环境 values before live trading:
AION_API_KEY for 认证d AION SDK 访问. WALLET_PRIVATE_KEY if the user wants self-custody live trading rather than a managed wallet 设置up. Optional WALLET_添加RESS if the operator wants personalized 上下文 检查s.
Do not write secrets into 仓库 files.
How It Works 初始化 the SDK 命令行工具ent with the AION API key. 搜索 markets with politics-related queries such as politics, election, president, and senate. Keep only active politics candidates. Randomly choose one market. Call market 上下文 before trading and skip on 警告s. Default to dry-运行 unless --live or 运行_LIVE=true is provided. For live execution, submit a 1 USD YES trade with source and 技能_slug attached. Files ClawHub.json politics_random_1u.py 运行 Examples
Dry-运行:
python politics_random_1u.py
Live 运行:
python politics_random_1u.py --live
Safety Rules Always default to dry-运行. Always include source, 技能_slug, and human-readable reasoning. Always pass venue="polymarket" on read paths. Never hardcode API keys or private keys. Treat the random entry 记录ic as a demo template, not a production strategy.