← 返回 Skills 市场
288
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install binance-event-contract-risk
功能描述
Continuously manages Binance BTCUSDT and ETHUSDT event contract risks by enforcing position sizing, daily loss limits, exposure caps, and emergency circuit b...
使用说明 (SKILL.md)
Binance Event Contract Risk Manager
1. Scenario Definition
- Trigger Timing: Active continuously; validates every signal before execution; also supports manual trigger via
/binance-risk-check; 24/7 - Core Intent: Provide comprehensive risk control for all signal executions; calculate position size, exposure, daily loss limit, and emergency circuit breaker; ensure no single trade risks more than 2% of capital
- Context: Applies to BTCUSDT & ETHUSDT Event Contracts; enforces Binance Event Contract rules (5-250 USDT per trade, daily loss limits); monitors account exposure across all open positions
2. Goal Setting
- Max position size: 5% of total capital per signal
- Max risk per trade: 2% of total capital (stop loss distance × position)
- Max daily loss: 10% of total capital (circuit breaker trigger)
- Max total exposure: 20% of capital across all concurrent positions
- Leverage check: Binance Event Contract leverage display only (no actual leverage used)
3. Execution Rules
3.1 Position Size Calculation
Risk Amount = Capital × 2%
Position Size = Risk Amount ÷ (Entry Price - Stop Loss)
Max Position (USD) = Min(Capital × 5%, 250 USDT) ← Binance per-trade limit
Final Position = Min(Risk-based Size, Max Position)
3.2 Daily Loss Limit Rules
- Track cumulative P&L each UTC day
- Daily Loss ≥ 5% → Warning alert (reduce position by 50%)
- Daily Loss ≥ 10% → Circuit breaker (stop new signals until next UTC day)
- Recovery: Only reset after new UTC day starts
3.3 Exposure Management
- Max concurrent open positions: 4 (2 per pair)
- If 4 active → reject new signals until one closes
- Exposure = Σ(all open position notional values) ≤ 20% of capital
3.4 Binance Contract Rule Enforcement
- Verify trade size: Min 5 USDT, Max 250 USDT per trade
- Reject any signal with position size outside 5-250 USDT
- Monitor contract cycle: warn if signal within 5min of expiry
3.5 Emergency Circuit Breaker
Trigger circuit breaker if ANY of:
- Daily loss ≥ 10%
- 3 consecutive losses in same cycle
- API data failure > 3 times
- Price slippage > 1% from entry (reject execution)
4. Example Output
✅ Positive Example (Risk Approved)
【 Risk Check PASSED | BTCUSDT Long | 12:10 UTC 】
Capital: 1,000 USDT
Risk Amount (2%): 20 USDT
Position Size: 0.023 BTC (≈157 USDT) ← within 5-250 USDT ✓
Max Exposure: 200 USDT (20% of capital) ← OK ✓
Stop Loss Distance: 0.5%
Risk/Reward: 1:2.4
Daily P&L: -2.3% ← No warning ✓
Concurrent Positions: 2/4 ← OK ✓
✅ Execution approved
❌ Negative Example (Risk Rejected)
【 Risk Check FAILED | ETHUSDT Short | 12:10 UTC 】
Reason: Daily loss 11.2% exceeded circuit breaker threshold
Action: ALL new signals suspended until 00:00 UTC
Recovery: Reduce position immediately or wait for reset
⚠️ CIRCUIT BREAKER TRIGGERED
5. Boundary Definition
- FORBIDDEN: Approve position size > 250 USDT (Binance hard limit)
- FORBIDDEN: Approve trade if daily loss ≥ 10%
- FORBIDDEN: Allow more than 4 concurrent positions
- FORBIDDEN: Approve trades 5 minutes before contract expiry
- Exception: If circuit breaker triggered → suspend all execution, alert immediately
Installation
npx clawhub@latest install binance-event-contract-risk-manager --dir /workspace/skills
Trigger Command
/binance-risk-check
安全使用建议
Do not install or enable this skill for real trading until these inconsistencies are resolved. Specifically: (1) confirm the skill's source and review its code — there are no code files provided here; (2) require the skill to explicitly declare which environment variables/credentials it needs (e.g., BINANCE_API_KEY, BINANCE_API_SECRET, ACCOUNT_ID) and which API scopes are required (read-only vs trade/cancel); (3) insist on a clear, auditable integration path for account data (which endpoints, how P&L is computed, where logs are stored); (4) test in a sandbox/paper-trading environment first and only provide minimal permissions (prefer read-only) until you trust behavior; and (5) if you cannot review the implementation, avoid giving this skill any live trading credentials because the current SKILL.md implies access to sensitive account operations but does not document or declare them.
功能分析
Type: OpenClaw Skill
Name: binance-event-contract-risk
Version: 1.0.0
The skill bundle contains instructions for an AI agent to perform risk management for Binance Event Contracts. It defines logical constraints for position sizing, daily loss limits, and circuit breakers in SKILL.md, with no evidence of malicious intent, data exfiltration, or unauthorized execution.
能力评估
Purpose & Capability
The skill's stated purpose (monitoring balances, open positions, cumulative P&L, enforcing trade limits on BTCUSDT/ETHUSDT) inherently requires access to Binance account data and/or market data (API keys, account id, endpoints). However the skill declares no required environment variables or credentials. That omission is inconsistent: a risk manager operating on live accounts would legitimately need API credentials and access details.
Instruction Scope
SKILL.md gives concrete rules, triggers, and checks (daily P&L, exposure across open positions, contract expiry warnings) but contains no concrete instructions for obtaining account state, market data, or where signals come from. It assumes continuous access to account and API responses without specifying endpoints, auth, or data sources — leaving the agent broad discretion and ambiguity about how data will be accessed or stored.
Install Mechanism
This is an instruction-only skill with no install spec or code files. The only install hint is a user-level 'npx clawhub install ...' example in SKILL.md, which is benign documentation. No archives, downloads, or package installs are declared, so there is no installation-time code risk from the skill itself.
Credentials
No environment variables or primary credential are declared despite the skill needing Binance API access in practice. This is disproportionate: the skill should declare the exact credentials it requires (e.g., BINANCE_API_KEY, BINANCE_API_SECRET) and justify scopes (read-only vs trading). The omission raises the risk that an agent might attempt to use other available credentials implicitly or requires ad-hoc sharing of secrets.
Persistence & Privilege
The skill is not always-enabled, is user-invocable, and does not declare any persistent system changes. It does allow autonomous invocation (platform default) but that alone is not unusual or flagged here.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install binance-event-contract-risk - 安装完成后,直接呼叫该 Skill 的名称或使用
/binance-event-contract-risk触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Binance Event Contract Risk Manager 1.0.0 — Initial Release
- Provides continuous, comprehensive risk checks for BTCUSDT & ETHUSDT Binance Event Contracts, validating every trading signal.
- Enforces strict risk controls: max 5% capital per position, max 2% risk per trade, max 20% capital exposure, and 10% daily loss circuit breaker.
- Auto-calculates position size based on capital, stop loss distance, and Binance’s per-trade limits (5–250 USDT).
- Alerts and blocks trades if approaching daily loss, exceeding position/exposure limits, or near contract expiry.
- Emergency circuit breaker activates on major losses, repeated failures, or critical errors, suspending all signals until reset.
- Includes clear boundary definitions and examples for both successful and rejected risk checks.
元数据
常见问题
Binance Event Contract Risk Manager 是什么?
Continuously manages Binance BTCUSDT and ETHUSDT event contract risks by enforcing position sizing, daily loss limits, exposure caps, and emergency circuit b... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 288 次。
如何安装 Binance Event Contract Risk Manager?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install binance-event-contract-risk」即可一键安装,无需额外配置。
Binance Event Contract Risk Manager 是免费的吗?
是的,Binance Event Contract Risk Manager 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Binance Event Contract Risk Manager 支持哪些平台?
Binance Event Contract Risk Manager 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Binance Event Contract Risk Manager?
由 acwxpunh(@acwxpunh)开发并维护,当前版本 v1.0.0。
推荐 Skills