← Back to Skills Marketplace
openclaw-funding-arb
by
linshengyyy
· GitHub ↗
· v1.0.0
· MIT-0
93
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install openclaw-funding-arb
Description
运行和维护 MEXC 股票合约资金费套利机器人,包含毫秒级触发、资金费率阈值过滤、股票白名单过滤、美股常规时段停盘窗口控制、以及未平仓状态持久化恢复。用户提出启动、调参、排障或改造该套利流程时使用本技能。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install openclaw-funding-arb - After installation, invoke the skill by name or use
/openclaw-funding-arb - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
OpenClaw Funding Arb 初始版本发布:
- 一键部署与运行 MEXC 股票合约资金费套利机器人
- 支持毫秒级精度触发、美股常规时段停盘窗口、资金费率阈值/白名单过滤
- 提供开/平仓自动化、持久化保存未平仓状态和重启恢复
- 详细环境变量与参数说明,支持 Ubuntu/Python 3.10+ 适配
- 明确故障码解读及调参建议
Metadata
Frequently Asked Questions
What is openclaw-funding-arb?
运行和维护 MEXC 股票合约资金费套利机器人,包含毫秒级触发、资金费率阈值过滤、股票白名单过滤、美股常规时段停盘窗口控制、以及未平仓状态持久化恢复。用户提出启动、调参、排障或改造该套利流程时使用本技能。 It is an AI Agent Skill for Claude Code / OpenClaw, with 93 downloads so far.
How do I install openclaw-funding-arb?
Run "/install openclaw-funding-arb" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is openclaw-funding-arb free?
Yes, openclaw-funding-arb is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does openclaw-funding-arb support?
openclaw-funding-arb is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created openclaw-funding-arb?
It is built and maintained by linshengyyy (@linshengyyy); the current version is v1.0.0.
More Skills