简介
Polymarket 尾盘狙击工具,自动扫描即将结算市场,在 60/40+ 概率倾斜时小额押注低估方,Dry-run 默认运行。
原始描述
Near-expiry conviction trading on Polymarket. The skill scans markets in their final minutes, filters for strongly-skewed splits (60/40+), and places bounded...
中文使用说明 来自收录源
核心用法
Mert Sniper 是一个针对 Polymarket 的自动化尾盘交易策略工具。用户配置参数后,系统循环扫描活跃市场,筛选出即将结算(默认 2 分钟内)且概率分布显著倾斜(默认 60/40 或更高)的市场,自动在低估方建立小额头寸(默认 $10 上限)。
关键配置项:
- 市场过滤标签(如
solana、crypto) - 最大单笔押注金额
- 结算窗口时间
- 最小概率分位阈值
- 智能仓位比例(按账户余额百分比)
- 费用缓冲与声明优势(可选高级风控)
运行模式:默认 Dry-run 仅展示机会,需显式 --live 才执行真实交易。每次扫描最多 5 笔交易, safeguards 检查市场状态、滑点与价格异动。
显著优点
- 结构化框架:提供完整的交易管道(市场发现→风控过滤→订单执行→报告),用户可自定义 alpha 逻辑
- 强制保守默认:Dry-run 优先、小额押注、严格分位过滤,降低新手误操作风险
- 费用透明化:自动计算 Polymarket 进场费用(POLY_FEE_RATE_CRYPTO × p × (1-p)),支持按声明优势过滤
- 社区验证策略:基于 @mert 公开方法论,有明确的策略溯源
潜在缺点与局限性
- 数据延迟问题:Polymarket API 的
endDate为事件级时间,非单个市场结算时间,15 分钟加密市场需人工扩大窗口(建议 1080 分钟 workaround) - 资金迁移复杂性:Polymarket V2 使用 pUSD,需将 USDC.e 迁移,原生 USDC 需先桥接转换,对非技术用户门槛较高
- 边缘条件风险:
--no-safeguards标志可完全禁用保护;SIMMER_MERT_MIN_EDGE=0时费用检查仅为日志,不阻止交易 - 依赖第三方 SDK:核心功能绑定 Simmer SDK,若服务中断则策略失效
适合人群
- 已有 Polymarket 交易经验、理解二元期权定价的用户
- 希望自动化执行特定尾盘策略(高置信度+近结算)的量化交易者
- 愿意接受小额高频试错、将本工具作为策略框架进行二次开发的开发者
不适合:完全新手、无法承受本金损失的用户、寻求被动收益的非主动管理者。
常规风险
- 本金损失:二元期权归零风险极高,$10 上限仅为损失控制,非收益保证
- 滑点与流动性:尾盘市场可能流动性枯竭,实际成交价格偏离信号价格
- 智能合约与桥接风险:pUSD/USDC.e 兑换依赖 Poly 网络桥接,存在合约漏洞与托管风险
- API 与密钥安全:
WALLET_PRIVATE_KEY以环境变量存储,若环境泄露则资金直接暴露 - 策略失效:市场微观结构变化或竞争者涌入可能使 60/40 分位策略快速失效
- 监管不确定性:预测市场合规状态因司法管辖区而异
技能正文
name: polymarket-mert-sniper
description: Near-expiry conviction trading on Polymarket. The skill scans markets in their final minutes, filters for strongly-skewed splits (60/40+), and places bounded trades against the under-priced side. Defaults — $10 max per trade, 5 trades/run, dry-run unless --live.
metadata:
author: Simmer (@simmer_markets)
version: "1.3.2"
displayName: Mert Sniper
difficulty: advanced
attribution: Strategy inspired by @mert — https://x.com/mert/status/2020216613279060433
Mert Sniper
Near-expiry conviction trading on Polymarket. The skill scans markets in their final minutes of pricing, filters for strongly-skewed splits, and places bounded trades against the under-priced side.
🚨 Framework, not a production trading system. Read DISCLAIMER.md before connecting to a wallet with real funds. Dry-run is the default;
--liveis required for any real-USDC trade. Defaults: $10 max per trade, 60/40 split minimum, 2-minute expiry window, 5 trades per scan cycle — adjust deliberately before scaling.
This is a template. The default logic (expiry + split filter) is a starting point — remix it with your own filters, timing rules, or market selection criteria. The skill handles all the plumbing (market discovery, trade execution, safeguards). Your agent provides the alpha.
Strategy attribution: @mert — see source thread for the original methodology (topic filter, near-expiry timing, strong-split entry).
When to Use This Skill
Use this skill when the user wants to:
- Trade markets that are about to resolve (last-minute conviction bets)
- Filter by topic (e.g. only SOL/crypto markets)
- Cap bet size (e.g. never more than $10)
- Only trade when odds are strongly skewed (e.g. 60/40 or better)
- Run an automated expiry-sniping strategy
Setup Flow
-
Install the Simmer SDK
pip install simmer-sdk -
Ask for Simmer API key
- Get it from simmer.markets/dashboard -> SDK tab
- Store in environment as
SIMMER_API_KEY
-
Ask for wallet private key (required for live trading)
- This is the private key for their Polymarket wallet (the wallet that holds USDC)
- Store in environment as
WALLET_PRIVATE_KEY - The SDK uses this to sign orders client-side automatically — no manual signing needed
-
Ask about settings (or confirm defaults)
- Market filter: Which markets to scan (default: all)
- Max bet: Maximum per trade (default $10)
- Expiry window: How close to resolution (default 2 minutes)
- Min split: Minimum odds skew (default 60/40)
-
Save settings to config.json or environment variables
Configuration
| Setting | Environment Variable | Default | Description |
|---|---|---|---|
| Market filter | SIMMER_MERT_FILTER |
(all) | Tag or keyword filter (e.g. solana, crypto) |
| Max bet | SIMMER_MERT_MAX_BET_USD |
10.00 | Maximum USD per trade |
| Expiry window | SIMMER_MERT_EXPIRY_MINUTES |
2 | Only trade markets resolving within N minutes |
| Min split | SIMMER_MERT_MIN_SPLIT |
0.60 | Only trade when YES or NO >= this (e.g. 0.60 = 60/40) |
| Max trades/run | SIMMER_MERT_MAX_TRADES_PER_RUN |
5 | Maximum trades per scan cycle |
| Smart sizing % | SIMMER_MERT_SIZING_PCT |
0.05 | % of balance per trade |
| Fee buffer | SIMMER_MERT_FEE_BUFFER |
0.02 | Extra alpha required above entry fee; only applies when SIMMER_MERT_MIN_EDGE is set |
| Declared edge | SIMMER_MERT_MIN_EDGE |
0.00 | Your signal's claimed edge above market price (probability units). At 0 (default): fee is logged but gate is advisory only. Set to X to block trades where entry fee > X — e.g. 0.05 requires your signal to clear at least 5¢ above market after fees |
Quick Commands
# Check account balance and positions
python scripts/status.py
# Detailed position list
python scripts/status.py --positions
API Reference:
- Base URL:
https://api.simmer.markets - Auth:
Authorization: Bearer $SIMMER_API_KEY - Portfolio:
GET /api/sdk/portfolio - Positions:
GET /api/sdk/positions
Running the Skill
# Dry run (default -- shows opportunities, no trades)
python mert_sniper.py
# Execute real trades
python mert_sniper.py --live
# Filter to specific markets
python mert_sniper.py --filter solana
# Custom expiry window (5 minutes)
python mert_sniper.py --expiry 5
# With smart position sizing (uses portfolio balance)
python mert_sniper.py --live --smart-sizing
# Check positions only
python mert_sniper.py --positions
# View config
python mert_sniper.py --config
# Disable safeguards (not recommended)
python mert_sniper.py --no-safeguards
How It Works
Each cycle the script:
- Fetches active markets from Simmer API (optionally filtered by tag/keyword)
- Filters to markets resolving within the expiry window (default 2 minutes)
- Checks the price split -- only trades when one side >= min_split (default 60%)
- Determines direction: backs the favored side (higher probability)
- Fee logging: prints entry-fee cost per market (
POLY_FEE_RATE_CRYPTO × p × (1-p), entry only — redemption is free). IfSIMMER_MERT_MIN_EDGE > 0, gates out markets where declared edge < entry fee + buffer - Safeguards: Checks context for flip-flop warnings, slippage, market status
- Execution: Places trade on the favored side, capped at max bet
- Reports summary of scanned, filtered, and traded markets
Example Output
🎯 Mert Sniper - Near-Expiry Conviction Trading
==================================================
[DRY RUN] No trades will be executed. Use --live to enable trading.
Configuration:
Filter: solana
Max bet: $10.00
Expiry window: 2 minutes
Min split: 60/40
Max trades: 5
Smart sizing: Disabled
Safeguards: Enabled
Fetching markets (filter: solana)...
Found 12 active markets
Markets expiring within 2 minutes: 2
SOL highest price on Feb 10?
Resolves in: 1m 34s
Split: YES 72% / NO 28%
Side: YES (72% >= 60%)
[DRY RUN] Would buy $10.00 on YES
Summary:
Markets scanned: 12
Near expiry: 2
Strong split: 1
Trades executed: 0
[DRY RUN MODE - no real trades executed]
Troubleshooting
"No markets found"
- Check your filter -- try without a filter first
- Markets may not be available (check simmer.markets)
"No markets expiring within window"
- Increase expiry window:
--expiry 10(10 minutes) - Or run more frequently (cron every minute)
"Split too narrow"
- Lower the min split:
--set min_split=0.55 - This trades more often but with less conviction
"Resolves in: 17h" on 15-min markets
- Polymarket's
endDateis the event-level end-of-day, not the individual market close time - For 15-min crypto markets (e.g. "BTC Up or Down - Feb 8, 11PM ET"), the actual close time is in the question text but not in the API
- This is a Polymarket data limitation — widen the expiry window (
--expiry 1080) as a workaround, or use the split filter to find conviction opportunities regardless of timing
"External wallet requires a pre-signed order"
WALLET_PRIVATE_KEYis not set in the environment- The SDK signs orders automatically when this env var is present — no manual signing code needed
- Fix:
export WALLET_PRIVATE_KEY=0x<your-polymarket-wallet-private-key> - Do NOT attempt to sign orders manually or modify the skill code — the SDK handles it
"Balance shows $0 but I have funds on Polygon"
- Polymarket V2 (live 2026-04-28) uses pUSD (PolyUSD, 1:1 backed by USDC.e). If your wallet holds USDC.e, migrate at simmer.markets/dashboard with one click (~30s)
- If you bridged native USDC (Circle), swap to USDC.e first, then migrate to pUSD
- Full migration guide: docs.simmer.markets/v2-migration
"API key invalid"
- Get new key from simmer.markets/dashboard -> SDK tab
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。
其他来源收录
同一技能在不同目录的原始页面: