← 返回 Skills 市场
guohongbin-git

Crypto Arbitrage CN | 加密货币套利监控

作者 Guohongbin · GitHub ↗ · v1.0.1
cross-platform ⚠ suspicious
1018
总下载
0
收藏
4
当前安装
2
版本数
在 OpenClaw 中安装
/install crypto-arb-cn
功能描述
加密货币套利监控 | Cryptocurrency Arbitrage Monitor. 支持币安、OKX、Gate.io、火币 | Supports Binance, OKX, Gate.io, Huobi. 实时价格监控、利润计算、Telegram通知 | Real-time price monitoring...
使用说明 (SKILL.md)

Crypto Arbitrage CN

Monitor cryptocurrency prices across Chinese-accessible exchanges and find arbitrage opportunities.

Quick Start

# Single check for opportunities
python scripts/arbitrage_monitor.py --once

# Continuous monitoring (every 30 seconds)
python scripts/arbitrage_monitor.py

Supported Exchanges

Exchange Fee API
Binance 0.1%
OKX 0.08%
Gate.io 0.2%
Huobi 0.2%

Configuration

Edit these variables in scripts/arbitrage_monitor.py:

# Trading pairs to monitor
SYMBOLS = ["BTCUSDT", "ETHUSDT", "SOLUSDT", "DOGEUSDT"]

# Minimum profit threshold (after fees)
MIN_PROFIT_PERCENT = 0.5  # 0.5%

# Check interval (for continuous mode)
INTERVAL = 30  # seconds

Output Format

When opportunities are found:

💰 BTCUSDT | 币安 → OKX | 利润: 0.65%
   买入: ¥485,230 (币安)
   卖出: ¥488,380 (OKX)
   预计利润: ¥3,150 (每 BTC)

Usage Examples

Check once:

用户: 帮我看看现在有没有套利机会
→ Run: python scripts/arbitrage_monitor.py --once

Start monitoring:

用户: 开始监控套利机会
→ Run: python scripts/arbitrage_monitor.py

Add Telegram notification:

用户: 有机会发 Telegram 给我
→ Set up TELEGRAM_BOT_TOKEN and TELEGRAM_CHAT_ID

Important Notes

  1. Fees matter: Always calculate profit after trading fees (0.1-0.2% per trade)
  2. Transfer time: Cross-exchange arbitrage requires crypto transfer (10-60 min)
  3. Price volatility: Prices change fast, opportunities may disappear
  4. Risk warning: Arbitrage involves risk, user discretion advised

References

安全使用建议
This skill appears to implement the advertised arbitrage monitor, but there are a few practical and safety issues to check before installing or running it: - Missing metadata: the registry lists no runtime dependencies or env vars, but the script requires Python (3) and the aiohttp library and optionally reads TELEGRAM_BOT_TOKEN and TELEGRAM_CHAT_ID. Install those dependencies and/or update the metadata. - Telegram tokens: if you set TELEGRAM_BOT_TOKEN/TELEGRAM_CHAT_ID, the script can send messages to that chat. Only provide tokens for bots/chats you control and trust. Treat the token like a secret. - Network activity: the script makes outbound HTTP requests to public exchange APIs and to api.telegram.org. Review the code yourself (it's included) and run it in an isolated environment if you are concerned. - Operational risk: this is an informational monitor only (it does not execute trades) — it does not require exchange API keys, but real arbitrage would require exchange accounts and funds; do not provide exchange API keys to this skill unless you review and trust how keys would be used. If you plan to use it: run it locally in a sandbox or VM, install Python + aiohttp, inspect/modify the script as needed, and only supply Telegram credentials you control. If you want stronger assurance, request clarification from the publisher or ask them to update the package metadata to declare dependencies and optional env vars.
功能分析
Type: OpenClaw Skill Name: crypto-arb-cn Version: 1.0.1 The skill bundle provides a cryptocurrency arbitrage monitor that fetches prices from various exchanges and can send alerts to Telegram. The `scripts/arbitrage_monitor.py` script uses `aiohttp` for network requests to legitimate exchange APIs and the Telegram API. It retrieves `TELEGRAM_BOT_TOKEN` and `TELEGRAM_CHAT_ID` from environment variables, which is a standard practice for sensitive credentials. All observed behaviors, including external network calls and reading environment variables, are directly aligned with the skill's stated purpose of monitoring arbitrage and providing Telegram notifications, without any evidence of intentional malicious activity such as unauthorized data exfiltration, command injection, persistence mechanisms, or harmful prompt injection against the agent.
能力评估
Purpose & Capability
Name, description, SKILL.md, references, and the Python script all align: the tool polls public price endpoints for Binance, OKX, Gate.io, and Huobi and computes potential arbitrage. There are no unrelated requested credentials or surprising capabilities in the code.
Instruction Scope
SKILL.md instructs running the included Python script and editing its config constants. It also mentions optional Telegram notifications and points to setting TELEGRAM_BOT_TOKEN and TELEGRAM_CHAT_ID. The runtime instructions are scoped to price checks and notifications and do not attempt to read unrelated local files or credentials, but they do rely on environment variables not declared in the registry metadata.
Install Mechanism
No install spec (instruction-only) and no network-downloads — low install risk. However the package does include an executable Python script that requires Python and the aiohttp library; the metadata declared no required binaries or dependencies, which is an omission/inconsistency that could surprise users.
Credentials
The package metadata lists no required env vars, but the script reads TELEGRAM_BOT_TOKEN and TELEGRAM_CHAT_ID from the environment for notifications. These are optional and appropriate for Telegram functionality, but they should be declared. Also be aware that supplying a Telegram bot token grants the script the ability to post messages to the configured chat (potential data exfiltration if misused).
Persistence & Privilege
The skill does not request permanent/system privileges; always:false. It does not modify other skills or system-wide configs. Autonomous invocation defaults are normal and present, but there are no added persistence mechanisms.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install crypto-arb-cn
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /crypto-arb-cn 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Added bilingual description | 添加中英文双语描述
v1.0.0
首个版本:支持币安、OKX、Gate.io、火币四家交易所的套利监控
元数据
Slug crypto-arb-cn
版本 1.0.1
许可证
累计安装 4
当前安装数 4
历史版本数 2
常见问题

Crypto Arbitrage CN | 加密货币套利监控 是什么?

加密货币套利监控 | Cryptocurrency Arbitrage Monitor. 支持币安、OKX、Gate.io、火币 | Supports Binance, OKX, Gate.io, Huobi. 实时价格监控、利润计算、Telegram通知 | Real-time price monitoring... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1018 次。

如何安装 Crypto Arbitrage CN | 加密货币套利监控?

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

Crypto Arbitrage CN | 加密货币套利监控 是免费的吗?

是的,Crypto Arbitrage CN | 加密货币套利监控 完全免费(开源免费),可自由下载、安装和使用。

Crypto Arbitrage CN | 加密货币套利监控 支持哪些平台?

Crypto Arbitrage CN | 加密货币套利监控 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Crypto Arbitrage CN | 加密货币套利监控?

由 Guohongbin(@guohongbin-git)开发并维护,当前版本 v1.0.1。

💬 留言讨论