← 返回 Skills 市场
mt5-trading-assistant
作者
canvascn00
· GitHub ↗
· v1.0.0
· MIT-0
509
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install mt5-trading-assistant
功能描述
Automates MetaTrader 5 trading: connect, monitor accounts, execute buy/sell orders with SL/TP, retrieve market data, and manage positions via scripts.
安全使用建议
This skill appears to implement the trading features it claims, but exercise caution before installing or running it:
- Do not run these scripts against a live account until you have reviewed and replaced all credentials. Multiple scripts include plaintext account login/password/server values. Treat those as secrets and remove them from the repo.
- Prefer using a config.py (kept out of version control) or environment variables (os.getenv) for MT5_LOGIN/MT5_PASSWORD/MT5_SERVER instead of hardcoded values. The SKILL.md recommends this, but the files still contain credentials that will be used if left unchanged.
- Test only on a demo account first. A script can place/close real trades if connected to a live MT5 session and AutoTrading is enabled.
- Restrict filesystem permissions on any config file you create and add config.py to .gitignore. Consider rotating passwords if you have ever run the included credentials.
- Inspect the scripts yourself (they are plain Python) and remove unused example credentials. If you are concerned about an agent running the skill autonomously, avoid enabling autonomous invocation for agents that have access to real trading credentials.
If you want, I can: (a) list every file/location where credentials appear, (b) suggest exact code edits to switch to environment variables, or (c) produce a safe config.py template using os.getenv().
功能分析
Type: OpenClaw Skill
Name: mt5-trading-assistant
Version: 1.0.0
The skill bundle contains multiple scripts (e.g., scripts/mt5_buy.py, scripts/mt5_check.py, scripts/mt5_snapshot.py) with hardcoded MetaTrader 5 (MT5) credentials, including a specific login (277528870) and password (KKx88088@@@@) for an Exness trial server. While the documentation (SKILL.md and INSTALLATION.md) warns that these are demo credentials and provides security best practices, hardcoding credentials in distributed code is a significant security vulnerability. The skill provides powerful trading capabilities that could lead to financial loss if misused, though no evidence of intentional malice or data exfiltration was found.
能力评估
Purpose & Capability
Name and description align with what the files implement: Python scripts using the MetaTrader5 package to connect, read market data, and place/close orders. Requiring the MT5 desktop client and MetaTrader5 Python package is expected for this functionality.
Instruction Scope
SKILL.md stays within the trading domain and instructs users to modify configuration before use, but several runtime scripts include hardcoded account login/password/server values and call mt5.login() directly. The instructions tell users to edit scripts or create config.py, but do not mandate or enforce removal of the embedded credentials; the presence of those credentials in code expands the effective runtime scope (they will be used automatically if left unchanged).
Install Mechanism
No install spec or remote downloads are present (instruction-only + local code files). That reduces supply-chain risk — nothing is fetched or executed from third-party URLs by the skill itself.
Credentials
The skill declares no required environment variables or primary credential, yet many scripts contain plaintext credentials (login: 277528870, password: "KKx88088@@@@", server: "Exness-MT5Trial5") and other example account data. This is disproportionate: sensitive credentials are embedded in code rather than being declared or recommended as environment/config inputs. Multiple scripts reuse the same hardcoded credentials, increasing exposure.
Persistence & Privilege
The skill is not always-enabled, is user-invocable, and does not request special platform privileges or modify other skills/configurations. Autonomous invocation is allowed (platform default) but not combined here with other high-privilege requests.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install mt5-trading-assistant - 安装完成后,直接呼叫该 Skill 的名称或使用
/mt5-trading-assistant触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of mt5-trading-assistant – a comprehensive automation suite for MetaTrader 5 trading platforms.
- Provides scripts for account monitoring, trade execution (buy/sell), closing positions, and retrieving market/K-line data.
- Includes real-time tracking for balance, equity, open positions, margin, and leverage.
- Supports execution of trades with optional stop loss/take profit and closing individual or all positions.
- Offers configuration options via script modification or a dedicated config file, with broker-specific templates.
- Features risk management tools including position size calculators and daily loss limits.
- Comes with example scripts for connecting, monitoring, and testing MT5 integration.
元数据
常见问题
mt5-trading-assistant 是什么?
Automates MetaTrader 5 trading: connect, monitor accounts, execute buy/sell orders with SL/TP, retrieve market data, and manage positions via scripts. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 509 次。
如何安装 mt5-trading-assistant?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install mt5-trading-assistant」即可一键安装,无需额外配置。
mt5-trading-assistant 是免费的吗?
是的,mt5-trading-assistant 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
mt5-trading-assistant 支持哪些平台?
mt5-trading-assistant 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 mt5-trading-assistant?
由 canvascn00(@canvascn00-crypto)开发并维护,当前版本 v1.0.0。
推荐 Skills