← 返回 Skills 市场
acwxpunh

Binance Event Contract Data Fetcher

作者 acwxpunh · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
220
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install binance-event-contract-fetcher
功能描述
Fetches 100% accurate, real-time Binance BTCUSDT and ETHUSDT Event Contract data every minute, including K-lines, liquidity, prices, and contract rules.
使用说明 (SKILL.md)

Binance Event Contract Full Data Fetcher

1. Scenario Definition

  • Trigger Timing: Auto-run every minute after Agent startup; also supports manual trigger via /binance-fetch-data; runs 24/7, aligned with Binance 7×24 trading hours
  • Core Intent: Provide 100% accurate, delay-free Binance official native data for the 3-tier resonance strategy; reject all third-party data sources
  • Context: Targets only BTCUSDT & ETHUSDT pairs; covers only 10min/30min/60min Event Contract cycles; provides underlying data support for signal calculation, ICT recognition, and risk control

2. 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

  • MUST connect ONLY to Binance Official REST API & WebSocket API
  • MUST call https://api.binance.com (or appropriate endpoint)
  • PROHIBITED: Calling any third-party data platform (Huobi, OKX, etc.)

3.2 Fixed Fetch Pairs

  • BTCUSDT (primary)
  • ETHUSDT (secondary)

3.3 Mandatory Fetch Data Dimensions

K-line Data:

  • Cycles: 1min / 10min / 30min / 1h / 4h
  • Fields: open, high, low, close, volume, turnover
  • Fetch latest 200 K-lines per cycle for indicator calculation

Liquidity Data:

  • BTC/ETH spot order book top 10 bid/ask depth
  • Calculate total bid/ask amount
  • Verify if total bid or ask ≥ 500,000 USDT

Market Data:

  • Latest spot index price (Binance Event Contract settlement anchor)
  • 24h price change
  • Bid-ask spread

Contract Rule Data:

  • Current available expiration cycles (10min/30min/1h)
  • Single trade limit (5-250 USDT)
  • Daily loss limit rules

3.4 Running Rule

  • Auto-start cron task at Agent startup
  • Run at second 0 of every minute
  • Auto-cache data after fetch
  • Sync to all related Skills for call

3.5 Data Verification Rule

  • Auto-verify data integrity after each fetch
  • Auto-retry 3 times if interface timeout or data missing
  • Trigger exception alert if retry failed
  • Use previous valid cached data as fallback
  • No impact on strategy running if cache available

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)

  • Fetch BTC/ETH data from exchanges other than Binance (Huobi/OKX etc.)
  • Only output price without volume, liquidity, or other strategy-required data
  • Use expired K-line data with delay over 1 minute

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 data

Exception 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 failed

Fallback 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 data

Installation

npx clawhub@latest install binance-event-contract-data-fetcher --dir /workspace/skills

Auto-Run Trigger

24/7, run every minute automatically after activation

安全使用建议
Before installing, ask the publisher for clarification on: (1) where cached data will be stored (filesystem path, DB, retention policy) and who can read it, (2) what "sync to all related Skills" actually does and whether it modifies other skills' configs or simply calls their public interfaces, (3) what alerting channel is used and whether any alert credentials are required, (4) exact Binance endpoints (REST vs futures vs index endpoints) and expected rate limits/WS connections, and (5) what safeguards prevent the skill from escalating to trading or accessing unrelated data. Prefer installing in a restricted environment that limits outbound network hosts to Binance domains, limits write access to a designated cache directory, and logs all automated fetches. If the publisher cannot provide these details, treat the skill as higher risk and avoid granting it persistent/scheduling privileges.
功能分析
Type: OpenClaw Skill Name: binance-event-contract-fetcher Version: 1.0.0 The skill bundle is a data fetcher designed to retrieve market data (K-lines, liquidity, and index prices) for BTC and ETH from the official Binance API. The instructions in SKILL.md explicitly prohibit trading operations, the use of third-party data sources, and the storage of user private data, focusing strictly on public market information for strategy support.
能力评估
Purpose & Capability
Name/description (fetch Binance BTCUSDT/ETHUSDT event contract market data) aligns with the instructions to call Binance REST/WebSocket public endpoints; public market data usually does not require credentials, so the lack of required env vars is reasonable. However, the SKILL.md asserts 100% accuracy and a 1-second fetch SLA every minute — unrealistic guarantees that don't match normal network/API behavior.
Instruction Scope
The instructions tell the agent to auto-start a cron task at agent startup, run every minute, cache results, push alerts, and "sync to all related Skills". Those behaviors imply persistent scheduling, local storage, and cross-skill communication, but SKILL.md provides no details about where cached data is stored, how alerts are delivered, or what "sync" entails (call other skills, write their config, or post to a central queue). That broad scope is not constrained and could lead to unexpected access to other skills or local data.
Install Mechanism
This is an instruction-only skill with no install spec and no code files, so nothing will be downloaded or written by an installer. That is low-risk from an installation standpoint. (The README shows an npx install command, but the registry metadata lists no install spec — the listed command is documentation only.)
Credentials
The skill declares no required environment variables or credentials, which is plausible for public-market reads. However, it also claims to "sync to all related Skills" and to "push alerts" without declaring any tokens, endpoints, or config paths for those operations. That is an inconsistency: cross-skill syncing or alerting typically requires declared channels/credentials or platform hooks.
Persistence & Privilege
Registry flags are standard (always:false, model-invocation allowed). But SKILL.md requires auto-run every minute after agent startup and persistent caching. It's unclear how the agent platform will grant the skill a persistent scheduler or storage; the skill asks for persistent runtime behavior without specifying required platform permissions. This mismatch should be clarified.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install binance-event-contract-fetcher
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /binance-event-contract-fetcher 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of Binance Event Contract Data Fetcher. - Auto-fetches official BTCUSDT & ETHUSDT data from Binance every minute (supports manual /binance-fetch-data trigger). - Provides K-line, liquidity, spot index price, and contract rule data for 10min/30min/60min cycles. - Strictly uses Binance REST/WebSocket APIs, with full data verification, retry, and caching. - No third-party data sources allowed; pushes alerts and uses cache/fallback if fetch fails.
元数据
Slug binance-event-contract-fetcher
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Binance Event Contract Data Fetcher 是什么?

Fetches 100% accurate, real-time Binance BTCUSDT and ETHUSDT Event Contract data every minute, including K-lines, liquidity, prices, and contract rules. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 220 次。

如何安装 Binance Event Contract Data Fetcher?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install binance-event-contract-fetcher」即可一键安装,无需额外配置。

Binance Event Contract Data Fetcher 是免费的吗?

是的,Binance Event Contract Data Fetcher 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Binance Event Contract Data Fetcher 支持哪些平台?

Binance Event Contract Data Fetcher 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Binance Event Contract Data Fetcher?

由 acwxpunh(@acwxpunh)开发并维护,当前版本 v1.0.0。

💬 留言讨论