← Back to Skills Marketplace
acwxpunh

Binance Event Contract Risk Manager

by acwxpunh · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
288
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install binance-event-contract-risk
Description
Continuously manages Binance BTCUSDT and ETHUSDT event contract risks by enforcing position sizing, daily loss limits, exposure caps, and emergency circuit b...
README (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

Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install binance-event-contract-risk
  3. After installation, invoke the skill by name or use /binance-event-contract-risk
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug binance-event-contract-risk
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 288 downloads so far.

How do I install Binance Event Contract Risk Manager?

Run "/install binance-event-contract-risk" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Binance Event Contract Risk Manager free?

Yes, Binance Event Contract Risk Manager is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Binance Event Contract Risk Manager support?

Binance Event Contract Risk Manager is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Binance Event Contract Risk Manager?

It is built and maintained by acwxpunh (@acwxpunh); the current version is v1.0.0.

💬 Comments