π¦ ClawHub
Binance Event Contract Skill System
by @acwxpunh
Continuously fetch and verify live Binance BTCUSDT and ETHUSDT Event Contract data every minute, providing accurate K-line, liquidity, and market info for tr...
TERMINAL
clawhub install binance-event-contractπ About This Skill
Binance Event Contract Full Data Fetcher
1. Scenario Definition
/binance-fetch-data; runs 24/7, aligned with Binance 7Γ24 trading hours2. Goal Setting
Complete Binance official API data fetch within 1 second per minute; output standardized BTC/ETH full-dimension data with 100% accuracy; price data fully matches Binance Event Contract settlement spot index price; provide error-free data source for strategy signal calculation.3. Execution Rules
3.1 Data Source Rule
https://api.binance.com (or appropriate endpoint)3.2 Fixed Fetch Pairs
3.3 Mandatory Fetch Data Dimensions
K-line Data:
Liquidity Data:
Market Data:
Contract Rule Data:
3.4 Running Rule
3.5 Data Verification Rule
4. Example Output
β Positive Example (Standard Output)
γ Binance Event Contract Data Fetch Completed | 2026-03-18 12:10:00 γ
1. Pair: BTCUSDT
- Latest Index Price: 68245.32 USDT
- 10min K-line: Open 68198.45 / High 68289.12 / Low 68176.33 / Close 68245.32 / Volume 128.34 BTC
- Liquidity: Bid Depth 892,000 USDT | Ask Depth 945,000 USDT | Qualified β
- Available Cycles: 10min / 30min / 1h Event Contract β ALL AVAILABLE
2. Pair: ETHUSDT
- Latest Index Price: 3842.18 USDT
- 10min K-line: Open 3839.76 / High 3845.22 / Low 3838.11 / Close 3842.18 / Volume 986.25 ETH
- Liquidity: Bid Depth 627,000 USDT | Ask Depth 583,000 USDT | Qualified β
- Available Cycles: 10min / 30min / 1h Event Contract β ALL AVAILABLE
Data synced to signal calculation module | Cache valid for 60s
β Negative Example (Forbidden Output)
5. Boundary Definition
Forbidden Operations
1. Do NOT call Binance trading API for entry/settlement β only data fetch and verification 2. Do NOT fetch data of pairs other than BTC/ETH 3. Do NOT store user account privacy dataException Handling
1. When Binance API is under maintenance or rate limit β push alert immediately, stop invalid fetch, auto-restart after API recovery 2. Do NOT output invalid data to signal calculation module if data verification failedFallback Strategy
If fetch fails 3 times consecutively β push "Data Fetch Exception" alert immediately, pause signal generation until data returns to normal, avoid false signal caused by wrong dataInstallation
npx clawhub@latest install binance-event-contract-data-fetcher --dir /workspace/skills