← 返回 Skills 市场
openclaw-funding-arb
作者
linshengyyy
· GitHub ↗
· v1.0.0
· MIT-0
93
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install openclaw-funding-arb
功能描述
运行和维护 MEXC 股票合约资金费套利机器人,包含毫秒级触发、资金费率阈值过滤、股票白名单过滤、美股常规时段停盘窗口控制、以及未平仓状态持久化恢复。用户提出启动、调参、排障或改造该套利流程时使用本技能。
安全使用建议
This skill contains a real trading bot that will place market orders if you supply valid MEXC API keys. Before installing or running it: (1) do not provide API keys with withdrawal permission — only give the minimum permissions required or use testnet/demo keys; (2) review the entire script for any hardcoded endpoints or unexpected network calls (the script lets BASE_URL be overridden); (3) run it first in an isolated/sandbox environment with small amounts or paper-trading to confirm behavior; (4) ask the publisher to update the registry metadata to declare required env vars (MEXC_API_KEY, MEXC_API_SECRET) so the need is explicit; (5) if you lack the ability to audit the full code, avoid providing live trading credentials. These steps reduce the risk of accidental fund loss or credential misuse.
功能分析
Type: OpenClaw Skill
Name: openclaw-funding-arb
Version: 1.0.0
The skill bundle provides a legitimate MEXC exchange funding rate arbitrage bot. The Python script (scripts/funding_arb_mexc.py) implements a standard trading strategy using the MEXC V1 contract API, including signature generation via HMAC-SHA256 and position management. The SKILL.md instructions are well-aligned with the script's functionality, providing clear guidance for the AI agent on environment setup and parameter tuning without any signs of prompt injection, data exfiltration, or unauthorized execution.
能力评估
Purpose & Capability
The name, description, SKILL.md, and the included script are coherent: this is a MEXC funding-rate arbitrage bot and the script expects MEXC API key/secret and trading-related environment variables. However the registry metadata lists no required environment variables or primary credential, which is inconsistent with the skill's actual needs.
Instruction Scope
SKILL.md limits runtime actions to copying the provided script, setting MEXC_API_KEY / MEXC_API_SECRET and related env vars, and running the Python script. It documents STATE_FILE usage and tuning parameters. It does not instruct the agent to read unrelated system files or send data to external endpoints beyond the exchange API (based on the provided content).
Install Mechanism
There is no install specification (instruction-only) and the code is provided as a single Python script. No external download URLs, package installs, or extract operations are present in the metadata. Risk from install mechanism is low, but running the script will execute untrusted code on the host.
Credentials
The script requires MEXC_API_KEY and MEXC_API_SECRET (and several optional trading-related env vars) to operate; these are necessary for trading but the registry metadata did not declare them. Requesting trading credentials is proportionate to the stated purpose, but because the metadata omits them, the omission is a practical risk (users may not realize they must supply keys) and increases chances of accidental credential exposure. The script also allows overriding BASE_URL via env var, which could be misused if combined with keys.
Persistence & Privilege
The skill does not request forced/always-on presence and does not modify other skills. It persists a local STATE_FILE for open positions, which is expected for this use-case. Note: because agent invocation is allowed, an agent with access to the skill plus valid API keys could autonomously place trades — consider this when granting keys.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install openclaw-funding-arb - 安装完成后,直接呼叫该 Skill 的名称或使用
/openclaw-funding-arb触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
OpenClaw Funding Arb 初始版本发布:
- 一键部署与运行 MEXC 股票合约资金费套利机器人
- 支持毫秒级精度触发、美股常规时段停盘窗口、资金费率阈值/白名单过滤
- 提供开/平仓自动化、持久化保存未平仓状态和重启恢复
- 详细环境变量与参数说明,支持 Ubuntu/Python 3.10+ 适配
- 明确故障码解读及调参建议
元数据
常见问题
openclaw-funding-arb 是什么?
运行和维护 MEXC 股票合约资金费套利机器人,包含毫秒级触发、资金费率阈值过滤、股票白名单过滤、美股常规时段停盘窗口控制、以及未平仓状态持久化恢复。用户提出启动、调参、排障或改造该套利流程时使用本技能。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 93 次。
如何安装 openclaw-funding-arb?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install openclaw-funding-arb」即可一键安装,无需额外配置。
openclaw-funding-arb 是免费的吗?
是的,openclaw-funding-arb 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
openclaw-funding-arb 支持哪些平台?
openclaw-funding-arb 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 openclaw-funding-arb?
由 linshengyyy(@linshengyyy)开发并维护,当前版本 v1.0.0。
推荐 Skills