← 返回 Skills 市场
manifoldor

Binance Alpha Explorer

作者 manifold · GitHub ↗ · v1.0.6 · MIT-0
cross-platform ✓ 安全检测通过
1862
总下载
0
收藏
6
当前安装
3
版本数
在 OpenClaw 中安装
/install alpha
功能描述
Binance Alpha new coin launch detector. Uses WebSocket to monitor !miniTicker@arr stream and detects new trading pairs immediately when they appear. Maintain...
使用说明 (SKILL.md)

Binance Alpha New Coin Launch Monitor

A real-time cryptocurrency listing monitor based on the Binance WebSocket API. It tracks the !miniTicker@arr stream to instantly detect and alert you when new trading pairs are listed.

How It Works

  1. WebSocket Connection - Connects to the Binance streaming API (!miniTicker@arr).
  2. Symbol Detection - Maintains a known_symbols set to identify newly appearing trading pairs.
  3. Price Validation - Verifies via REST API that the new pair has a valid opening price.
  4. Real-time Alerts - Outputs new coin listing information immediately.

Features

  • Real-time Detection - WebSocket streaming data with millisecond latency.
  • 🎯 Accurate Filtering - Automatically filters out system symbols and invalid data.
  • Price Confirmation - Dual verification ensures the pair is actually open for trading.
  • 💾 State Persistence - Saves known pairs and historical alert records.
  • 🔄 Auto-Reconnect - Automatically reconnects on drops to ensure uninterrupted monitoring.

Prerequisites

Install Dependencies

pip3 install websocket-client --user

Usage

Start Monitoring

python3 scripts/alpha.py monitor

Example Output:

🚀 Binance Alpha New Coin Monitor
==================================================
📂 Loaded 1847 known trading pairs
✅ WebSocket connected successfully
📊 Monitoring started... Known pairs: 1847
⏳ Waiting for new coin listings...

======================================================================
🚀🚀🚀 New Coin Listing Detected! 🚀🚀🚀
======================================================================
⏰ Time: 2024-02-03T15:42:18.123456
🪙 Pair: BTCUSDT
💰 Current Price: 43250.50
📊 Open Price: 43100.00
📈 24h Change: 150.50 (0.35%)
📦 24h Volume: 15234.56
💵 24h Quote Vol: 658923456.78
======================================================================

View Alert History

# View last 20 alerts
python3 scripts/alpha.py history

# View last 50 alerts
python3 scripts/alpha.py history --limit 50

Example Output:

📜 Alert History (Last 3):

⏰ 2024-02-03T15:42:18.123456
🪙 BTCUSDT
💰 Price: 43250.50
📊 Change: 0.35%
--------------------------------------------------
⏰ 2024-02-03T14:30:22.654321
🪙 ETHUSDT
💰 Price: 2650.30
📊 Change: 1.20%
--------------------------------------------------

Check Status

python3 scripts/alpha.py status

Output:

📊 Current Status:

  Known Pairs: 1847
  Total Alerts: 15
  State Directory: /Users/xxx/.config/alpha

  Latest Alert:
    Time: 2024-02-03T15:42:18.123456
    Pair: BTCUSDT

Reset Data

If you need to restart monitoring from scratch (clears all history):

python3 scripts/alpha.py reset

⚠️ Warning: This will clear all known trading pairs and alert history!

Technical Details

WebSocket Data Source

Endpoint: wss://stream.binance.com:9443/ws/!miniTicker@arr

Data Format:

[
  {
    "e": "24hrMiniTicker",
    "E": 1234567890123,
    "s": "BTCUSDT",
    "c": "43250.50",
    "o": "43100.00",
    "h": "43500.00",
    "l": "42800.00",
    "v": "15234.56",
    "q": "658923456.78"
  }
]

Field Descriptions:

  • s - Symbol (Trading Pair)
  • c - Latest Price
  • o - Open Price
  • h - High Price
  • l - Low Price
  • v - Base Volume
  • q - Quote Volume

Detection Logic

  1. Receives all pair data from the !miniTicker@arr stream.
  2. Extracts the s (symbol) field from each packet.
  3. Checks if the symbol exists in the known_symbols set.
  4. If not, verifies price validity via REST API.
  5. Once confirmed, triggers an alert and adds the symbol to known_symbols.

Price Verification

Double-checks via Binance REST API:

GET /api/v3/ticker/price?symbol=XXX

Ensures the trading pair has a valid opening price (price > 0).

Configuration Files

State files are stored at: ~/.config/alpha/

  • known_symbols.json - Set of currently known trading pairs.
  • alerts_history.json - Historical alert records (last 100).

Command Reference

Command Function Example
monitor Start monitoring alpha.py monitor
history View history alpha.py history --limit 50
status View status alpha.py status
reset Reset data alpha.py reset

Environment

  • Python 3.7+
  • Internet connection (access to Binance)
  • No API Key required (uses public WebSocket streams)

Use Cases

Scenario 1: First to spot new listings

# Keep monitor running
python3 scripts/alpha.py monitor

# Get immediate terminal alerts when a new coin is listed

Scenario 2: Tracking recent listings

# Review recently discovered coins
python3 scripts/alpha.py history --limit 10

Scenario 3: Periodic resets

# Reset weekly to rebuild the baseline
python3 scripts/alpha.py reset

Troubleshooting

Error: websocket-client library not installed → Run: pip3 install websocket-client --user

Connection Drops → The program automatically reconnects. No manual intervention needed.

False Positives (Existing coins show as new) → Run alpha.py reset to flush and rebuild the known symbols data.

No Alerts Triggering → Confirm Binance actually listed a new coin. Check your network connection.

How to integrate with a notification system? → Modify the alert_new_coin function in the script to add email/SMS/Webhook logic.

Notes

  1. Network - Requires access to Binance WebSocket servers.
  2. Memory - The symbol set consumes a few MBs of RAM.
  3. False Positives - Occasional duplicate alerts may happen due to network instability.
  4. Spot Only - Monitors spot trading pairs only, excluding futures/derivatives.

References

安全使用建议
This skill appears coherent and implements exactly what it claims: listening to Binance public WebSocket and storing alerts locally. Before installing or running: (1) review the script if you plan to add notification hooks — that is where external webhooks or credentials could be introduced; (2) run it in a controlled environment or sandbox if you are cautious (it opens network connections to Binance and writes to ~/.config/alpha); (3) install the websocket-client dependency from PyPI via your normal trusted channel; (4) back up or inspect ~/.config/alpha if you care about persistent alert history; and (5) if you do add automated notifications, avoid embedding secrets in the script — use your system's secret manager or environment variables and review their scope.
功能分析
Type: OpenClaw Skill Name: alpha Version: 1.0.6 The Binance Alpha Explorer skill is a legitimate tool designed to monitor new cryptocurrency listings on Binance using official WebSocket and REST API endpoints. The Python script (scripts/alpha.py) implements standard monitoring logic, local state persistence in ~/.config/alpha, and provides a CLI for managing alerts without any evidence of data exfiltration, unauthorized execution, or malicious prompt injection.
能力评估
Purpose & Capability
Name/description (Binance new-coin monitor) match the code and SKILL.md: it connects to Binance WebSocket (!miniTicker@arr), validates prices via Binance REST API, and persists known symbols and alert history. No unrelated binaries or credentials are requested.
Instruction Scope
Runtime instructions and code only access Binance public endpoints (stream.binance.com and api.binance.com) and local state files (~/.config/alpha). There are no directives to read unrelated system files, environment secrets, or to send data to third-party endpoints. A commented hook hints where a user could add notifications (webhook/email), but that is not enabled by default.
Install Mechanism
This is an instruction-only skill with a Python script; SKILL.md asks the user to pip3 install websocket-client --user. There is no automated install spec that downloads arbitrary code. The only dependency is a common PyPI package; users should install dependencies from their package manager and verify sources.
Credentials
No environment variables, API keys, or unrelated credentials are requested. Public Binance APIs are used and require no auth, so requested access is proportional to the stated functionality.
Persistence & Privilege
The script persistently stores known_symbols.json and alerts_history.json under ~/.config/alpha, which is consistent with the described feature 'state persistence'. always:false and no elevated privileges are requested. Users should know these files will be created/updated on disk.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install alpha
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /alpha 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.6
- English documentation overhaul: all user instructions, examples, and output are now in English. - Skill name updated to "Binance Alpha Explorer" for broader clarity. - Content structured for clarity with concise sections on features, usage, troubleshooting, and technical details. - No core code changes; documentation and descriptive improvements only.
v1.0.5
- Initial release of Binance Alpha, a real-time new coin launch detector for Binance. - Monitors all trading pairs via WebSocket (!miniTicker@arr) with millisecond-level latency. - Detects and alerts on newly listed coins by maintaining known symbols and verifying opening prices. - Provides command-line tools to monitor, view alert history, check status, and reset data. - Includes features like state persistence, automatic reconnection, and support for custom alert integration. - No Binance API key required; works with public stream and Python 3.7+.
v1.0.0
Binance Alpha new coin launch detector initial release. - Real-time monitoring of Binance spot market via WebSocket to detect new trading pairs as soon as they appear. - Alerts issued for new symbols after confirming valid opening price via REST API. - Maintains in-memory set of known trading pairs, with persistence to disk for state and alert history. - Includes commands to monitor, view status, check alert history, and reset data. - Features automatic reconnection, data filtering, and support for custom alert integrations.
元数据
Slug alpha
版本 1.0.6
许可证 MIT-0
累计安装 6
当前安装数 6
历史版本数 3
常见问题

Binance Alpha Explorer 是什么?

Binance Alpha new coin launch detector. Uses WebSocket to monitor !miniTicker@arr stream and detects new trading pairs immediately when they appear. Maintain... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1862 次。

如何安装 Binance Alpha Explorer?

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

Binance Alpha Explorer 是免费的吗?

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

Binance Alpha Explorer 支持哪些平台?

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

谁开发了 Binance Alpha Explorer?

由 manifold(@manifoldor)开发并维护,当前版本 v1.0.6。

💬 留言讨论