5分钟极速狙击 · 三重信号验证
简介
Polymarket 5分钟极速二元期权量化交易技能,采用三重触发策略(币安动量+NOFX机构资金流+L2大单墙)精准择时,支持API断线预缓存与纸笔/实盘双模式。
原始描述
Trade Polymarket BTC/ETH/SOL 5-minute fast markets using a zero-delay Triple-Trigger strategy. Combines Binance momentum, NOFX OI/Netflow (free public API),...
通过你的 Agent 添加
安装目录:polymarket-simmer-fastloop-sync-pulse/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
中文使用说明 来自收录源
核心用法
Polymarket Simmer FastLoop Sync Pulse 是一款面向 Polymarket 5分钟二元期权市场的专业级量化执行技能。其核心设计围绕"三重触发狙击"(Triple-Trigger Sniper)策略展开,要求每一笔交易决策必须同时满足三个独立条件:动量与Pin Bar过滤、NOFX机构资金流向验证、以及币安L2盘口墙检测。
具体执行流程分为数据获取层和决策执行层。数据层通过调用币安K线/L2订单簿、NOFX持仓兴趣(OI)与资金流向API,实时计算市场状态;决策层则根据预设阈值判断趋势跟踪(Trend Following)或均值回归(Mean Reversion)策略方向。独特的预缓存雷达(V8.10 Ignition)机制会在每次运行时获取未来市场ID并保存至本地,确保在市场开盘时的API黑窗期仍能执行交易。
用户可通过环境变量灵活配置策略参数,包括动量阈值(默认0.01%)、最大仓位(10 USDC)、日预算上限(1000 USDC)、Pin Bar过滤比例(30%)、OI中性区间(±2%)等。无钱包私钥时运行模拟模式(纸交易),配置后进入实盘模式。
显著优点
多源信号融合:突破单一指标局限,将价格动量、机构资金流向、订单簿深度三个维度交叉验证,显著降低假信号概率。Pin Bar拒绝机制和1.5秒反欺骗延迟进一步过滤高频操纵噪声。
零延迟执行架构:预缓存机制解决Simmer API在市场开盘时的短暂隐藏问题,本地JSON缓存确保即使冷启动也能在毫秒级响应窗口内完成交易,对5分钟极速市场至关重要。
灵活的策略模板:核心逻辑开放可定制,用户可调整三重触发的权重、替换信号来源、或实施凯利公式等自定义仓位管理,兼顾开箱即用与高级定制需求。
安全的设计实践:私钥本地签名不上传、敏感信息环境变量化、无硬编码凭证,符合交易自动化安全基线。
潜在缺点与局限性
T3来源可信度:作者Xuano47为个人开发者,无GitHub开源仓库可追溯,代码审计依赖CLS认证而非社区众审,长期维护与漏洞响应存在不确定性。
NOFX数据依赖风险:机构资金流向API(nofxos.ai)知名度有限,虽经CLS标记为"known"级别,但无备用数据源设计,服务中断或数据质量波动将直接影响策略有效性。
极端市场适应性:策略基于历史统计规律设计,在流动性枯竭、黑天鹅事件或Polymarket本身市场异常时,固定阈值可能失效,缺乏动态风险熔断机制。
5分钟市场的固有限制:二元期权结构本身具有非对称收益特征,高频交易累积手续费与价差成本可能侵蚀边缘优势,策略长期夏普比率未经公开验证。
适合的目标群体
量化交易从业者:具备Python基础、熟悉币安API与订单簿分析、理解OI/资金流向概念的专业交易者,能够快速理解并定制策略参数。
Polymarket活跃参与者:已在该平台进行交易、熟悉二元期权机制、需要自动化执行以克服人工反应延迟的用户。
系统化信号验证需求者:对单一技术指标不信任、希望建立多条件确认过滤机制以减少交易频率、提高单笔胜率的风险厌恶型投机者。
非目标用户:无编程背景期望一键盈利的普通投资者、无法承受高频交易本金波动风险的用户、以及不了解加密货币衍生品市场结构的新手。
使用风险
资金安全风险:尽管私钥本地处理,但环境变量泄露、运行环境被入侵、或Simmer SDK本身存在未审计漏洞,均可能导致资产损失。CLS评分80分(S级)不代表绝对安全。
API依赖与性能风险:6个外部API(币安、NOFX、Polymarket Gamma/CLoB)任一服务降级或 rate limit 都将影响信号质量;当前实现缺少完善的超时重试与断路器机制,网络抖动可能导致策略停滞。
策略失效风险:三重触发逻辑基于历史回测假设,市场微观结构变化、Polymarket做市商行为调整、或同类策略拥挤交易均可能使边缘优势衰减甚至反转。
合规与监管风险:Polymarket在某些司法辖区存在法律灰色地带,自动化交易工具的使用可能触及当地金融法规,用户需自行评估合规性。
数据残留隐私风险:本地缓存与交易账本文件(fast_markets_cache.json、fastloop_ledger.json等)会留存策略执行痕迹,在多用户环境或设备共享场景下存在信息泄露隐患。
技能正文
name: polymarket-simmer-fastloop-sync-pulse displayName: Polymarket Simmer FastLoop Sync Pulse description: Trade Polymarket BTC/ETH/SOL 5-minute fast markets using a zero-delay Triple-Trigger strategy. Combines Binance momentum, NOFX OI/Netflow (free public API), and L2 Wall detection to choose between Trend Following and Mean Reversion. Pre-Caches market IDs to bypass the Simmer API blackout at market open. version: "1.0.2" author: "Xuano47" tags: ["polymarket", "trading", "btc", "quantitative", "sniper"] pip:
- simmer-sdk env:
- SIMMER_API_KEY
- WALLET_PRIVATE_KEY
Polymarket Simmer FastLoop Sync Pulse
A professional-grade quantitative execution skill for Polymarket's 5-minute binary options. Uses a Triple-Trigger strategy combining Binance momentum, NOFX institutional flow, and L2 Wall detection to time entries with high precision.
🌟 Core Strategy: Triple-Trigger Sniper
This skill abandons naïve price-breakout logic. Every trade decision requires three independent confirmations:
1. Momentum & Pin Bar Filter (5m Candles)
- Measures the real momentum of the previous closed 5-minute candle on Binance.
- Pin Bar Rejection: If the counter-directional wick exceeds
max_pin_bar_tail_pct (default 30%) of the full candle range, the signal is blocked as a likely exhaustion trap.
min_momentum_pct defaults to 0.01% — acting as a near-zero-threshold pass-through that relies on the shape filter for quality control.
2. NOFX Institutional Flow (300s Window)
- Uses the NOFX API to check the past 300 seconds of Open Interest (OI) and institutional Netflow.
- Trend trade: Momentum + OI increasing (> -2%) + net institutional inflow.
- Reversion trade: Momentum + OI declining (< +2%) + net institutional outflow.
3. Binance L2 Verified Wall Detection
- Scans the Binance L2 order book for large price walls above
min_wall_usd (default $1,000,000) up to wall_scan_depth levels deep.
- Anti-Spoofing: When a wall is detected, the script waits 1.5s and checks again. Only a wall that survives both checks is considered a real barrier, filtering out high-frequency spoofing.
- Usage: Trend trades avoid walls; Reversion trades require a wall to bounce off.
4. Pre-Caching Radar (V8.10 Ignition)
- On every run, the script fetches all upcoming market IDs from the Simmer API and saves them to a local
fast_markets_cache.json.
- At market open, the Simmer API briefly hides the active market. The skill reads from its local cache to execute trades during this "API blackout", ensuring no opportunity is missed.
- The local cache ensures execution even on a cold start at the exact moment of market open.
⚙️ Account Setup
max_pin_bar_tail_pct (default 30%) of the full candle range, the signal is blocked as a likely exhaustion trap.min_momentum_pct defaults to 0.01% — acting as a near-zero-threshold pass-through that relies on the shape filter for quality control.- Uses the NOFX API to check the past 300 seconds of Open Interest (OI) and institutional Netflow.
- Trend trade: Momentum + OI increasing (> -2%) + net institutional inflow.
- Reversion trade: Momentum + OI declining (< +2%) + net institutional outflow.
3. Binance L2 Verified Wall Detection
- Scans the Binance L2 order book for large price walls above
min_wall_usd (default $1,000,000) up to wall_scan_depth levels deep.
- Anti-Spoofing: When a wall is detected, the script waits 1.5s and checks again. Only a wall that survives both checks is considered a real barrier, filtering out high-frequency spoofing.
- Usage: Trend trades avoid walls; Reversion trades require a wall to bounce off.
4. Pre-Caching Radar (V8.10 Ignition)
- On every run, the script fetches all upcoming market IDs from the Simmer API and saves them to a local
fast_markets_cache.json.
- At market open, the Simmer API briefly hides the active market. The skill reads from its local cache to execute trades during this "API blackout", ensuring no opportunity is missed.
- The local cache ensures execution even on a cold start at the exact moment of market open.
⚙️ Account Setup
min_wall_usd (default $1,000,000) up to wall_scan_depth levels deep.- On every run, the script fetches all upcoming market IDs from the Simmer API and saves them to a local
fast_markets_cache.json. - At market open, the Simmer API briefly hides the active market. The skill reads from its local cache to execute trades during this "API blackout", ensuring no opportunity is missed.
- The local cache ensures execution even on a cold start at the exact moment of market open.
⚙️ Account Setup
Set the following environment variables:
| Variable | Required | Description |
|---|---|---|
SIMMER_API_KEY |
Yes | Your Simmer SDK API key |
WALLET_PRIVATE_KEY |
Optional | Your EVM wallet private key |
AUTOMATON_MAX_BET |
Optional | Override max position size (set by automation platforms) |
- Without
WALLET_PRIVATE_KEY: Runs in simulation mode (paper trading, no real money). - With
WALLET_PRIVATE_KEY: Runs in live mode (real USDC on Polymarket).
[!NOTE] Binance and NOFX are free, public APIs — no additional credentials or accounts are required. The skill reads Binance K-line/L2 data and NOFX OI/Netflow anonymously.
[!WARNING] Never share your
WALLET_PRIVATE_KEY. The Simmer SDK signs transactions locally — your private key is never transmitted to any server.
🚀 Quick Start
Step 1: Pre-Warm the Cache (Recommended on First Run)
On first launch, run the script once to populate the local market ID cache. You do not need to be near a market window — the script will scan future markets, save them, and exit safely.
python fastloop_improved.py
You should see: [Ignition] Successfully cached X future market IDs.
Step 2: Run the Sniper
# Dry run — analyzes signals but does NOT place orders
python fastloop_improved.py
# Live mode — places real orders
python fastloop_improved.py --live
Note: With no WALLET_PRIVATE_KEY, --live uses Simmer's virtual $SIM balance (paper trading). Real USDC is only used when a private key is configured.
⚙️ All Settings
Setting
Default
Env Var
Description
min_momentum_pct
0.01
SIMMER_SPRINT_MOMENTUM
Min BTC % move in lookback window
max_position
10.0
SIMMER_MAX_POSITION
Max USD per trade
daily_budget
1000.0
SIMMER_DAILY_BUDGET
Max total spend per UTC day
max_pin_bar_tail_pct
0.3
SIMMER_PIN_BAR_MAX
Max wick ratio to filter Pin Bar noise
oi_neutral_zone
2.0
SIMMER_OI_NEUTRAL
OI % buffer — changes within ±2% are ignored
min_wall_usd
1000000
SIMMER_MIN_WALL_USD
Min USD depth to qualify as a wall
wall_scan_depth
50
SIMMER_WALL_SCAN_DEPTH
Number of L2 order book levels to scan
require_orderbook
false
SIMMER_ORDERBOOK
Require L2 wall confirmation
require_funding
false
SIMMER_FUNDING
Require NOFX institutional flow
fee_buffer
0.05
SIMMER_FEE_BUFFER
Extra edge required above fee breakeven
🆘 Troubleshooting
Symptom
Cause
Action
No high-conviction signal
Data signals conflict or no wall found
Normal. The sniper only fires on high-probability setups.
No tradeable markets found
No Polymarket market is scheduled in this window
Normal. Cache is being updated. Wait for the next market window.
Failed to fetch signal data
Network or API rate limit
Check Binance / NOFX connectivity.
401 Unauthorized
Invalid API key
Verify SIMMER_API_KEY is set correctly.
🎨 Remixing the Signal
# Dry run — analyzes signals but does NOT place orders
python fastloop_improved.py
# Live mode — places real orders
python fastloop_improved.py --live
Note: With no WALLET_PRIVATE_KEY, --live uses Simmer's virtual $SIM balance (paper trading). Real USDC is only used when a private key is configured.
| Setting | Default | Env Var | Description |
|---|---|---|---|
min_momentum_pct |
0.01 | SIMMER_SPRINT_MOMENTUM |
Min BTC % move in lookback window |
max_position |
10.0 | SIMMER_MAX_POSITION |
Max USD per trade |
daily_budget |
1000.0 | SIMMER_DAILY_BUDGET |
Max total spend per UTC day |
max_pin_bar_tail_pct |
0.3 | SIMMER_PIN_BAR_MAX |
Max wick ratio to filter Pin Bar noise |
oi_neutral_zone |
2.0 | SIMMER_OI_NEUTRAL |
OI % buffer — changes within ±2% are ignored |
min_wall_usd |
1000000 | SIMMER_MIN_WALL_USD |
Min USD depth to qualify as a wall |
wall_scan_depth |
50 | SIMMER_WALL_SCAN_DEPTH |
Number of L2 order book levels to scan |
require_orderbook |
false | SIMMER_ORDERBOOK |
Require L2 wall confirmation |
require_funding |
false | SIMMER_FUNDING |
Require NOFX institutional flow |
fee_buffer |
0.05 | SIMMER_FEE_BUFFER |
Extra edge required above fee breakeven |
🆘 Troubleshooting
Symptom
Cause
Action
No high-conviction signal
Data signals conflict or no wall found
Normal. The sniper only fires on high-probability setups.
No tradeable markets found
No Polymarket market is scheduled in this window
Normal. Cache is being updated. Wait for the next market window.
Failed to fetch signal data
Network or API rate limit
Check Binance / NOFX connectivity.
401 Unauthorized
Invalid API key
Verify SIMMER_API_KEY is set correctly.
🎨 Remixing the Signal
| Symptom | Cause | Action |
|---|---|---|
No high-conviction signal |
Data signals conflict or no wall found | Normal. The sniper only fires on high-probability setups. |
No tradeable markets found |
No Polymarket market is scheduled in this window | Normal. Cache is being updated. Wait for the next market window. |
Failed to fetch signal data |
Network or API rate limit | Check Binance / NOFX connectivity. |
401 Unauthorized |
Invalid API key | Verify SIMMER_API_KEY is set correctly. |
This skill is designed as a remixable template. The core logic lives in fastloop_improved.py within the run_fast_market_strategy function.
How to customize the Signal:
- Find the Brain: Locate lines ~570-580 where
is_trend and is_reversion are calculated.
- Modify the Logic:
- Change the
MIN_MOMENTUM_PCT to make it more or less sensitive.
- Adjust the
OI_NEUTRAL buffer to filter NOFX data differently.
- Toggle
REQUIRE_ORDERBOOK or REQUIRE_FUNDING in your environment variables to enable/disable confirmation layers.
- Change the Execution: Edit the
calculate_position_size function to implement your own Kelly Criterion or fixed-lot sizing.
is_trend and is_reversion are calculated.- Change the
MIN_MOMENTUM_PCTto make it more or less sensitive. - Adjust the
OI_NEUTRALbuffer to filter NOFX data differently. - Toggle
REQUIRE_ORDERBOOKorREQUIRE_FUNDINGin your environment variables to enable/disable confirmation layers.
calculate_position_size function to implement your own Kelly Criterion or fixed-lot sizing.The default "Triple-Trigger" is just one way to trade — the SDK provides the pipes, you provide the signal.
🤖 AI Operator Policy
When running this script as an automated agent, interpret outputs as follows:
✅ Success — Ignition: Log contains [Ignition] Successfully cached X future market IDs. Cache is populated. This is a successful run even if no trade fires.
⏳ Normal — Waiting: Log shows No tradeable markets found. This means no market is currently scheduled. The script will find one at the next window.
❌ True Failure: 401 Unauthorized, SyntaxError, AttributeError, or 10+ consecutive [API Delay] messages with no [Ignition] line.
The script's purpose is dual: snipe when conditions are right, and keep the local ID cache fresh at all other times.
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。