← 返回 Skills 市场
mt5-httpapi
作者
Ciprian Mandache
· GitHub ↗
· v1.2.0
· MIT-0
1607
总下载
4
收藏
1
当前安装
3
版本数
在 OpenClaw 中安装
/install mt5-httpapi
功能描述
MetaTrader 5 trading via REST API — get market data, place/modify/close orders, manage positions, pull history. Use when you need to interact with forex/cryp...
安全使用建议
This skill appears to do what it says: controlling MetaTrader 5 via a local HTTP API. Before installing, note: (1) you will need to host an MT5 instance (VM + Docker) and supply broker credentials and an API token — these are sensitive, so store them securely; (2) the skill/docs instruct copying Cloudflare tunnel credentials if you want public access — that copies sensitive files from your home directory and should only be done if you understand the exposure; (3) the registry metadata omitted declaring MT5_API_URL/MT5_API_TOKEN even though SKILL.md requires them — verify env vars are configured; (4) the API can run without auth if the token file is missing — do not expose an unauthenticated trading API; (5) because the agent can invoke the skill autonomously, restrict or require confirmation for any actions that place/modify/close trades to avoid accidental financial loss.
功能分析
Type: OpenClaw Skill
Name: mt5-httpapi
Version: 1.2.0
The skill bundle provides documentation and instructions for an AI agent to interact with a MetaTrader 5 REST API wrapper (mt5-httpapi). The SKILL.md and setup.md files describe standard trading operations, environment configuration, and authentication via bearer tokens. While the skill handles sensitive financial credentials and facilitates market transactions, the behavior is transparently aligned with its stated purpose, and there is no evidence of malicious intent, data exfiltration, or harmful prompt injection.
能力标签
能力评估
Purpose & Capability
Name/description match the instructions: the SKILL.md documents a REST interface to an MT5 instance and the references/setup.md explains how to run that instance and supply broker credentials. All required artifacts (API URL, optional token, broker credentials, MT5 installer) are coherent with a trading API.
Instruction Scope
SKILL.md expects environment variables (MT5_API_URL and optionally MT5_API_TOKEN) and uses curl to call API endpoints — fine for its purpose — but the registry metadata did not declare these envs. references/setup.md also instructs copying Cloudflare credentials from ~/.cloudflared and placing broker login/passwords in config/accounts.json. Those instructions involve handling sensitive secrets and exposing the API publicly; the docs also say the API can run without auth if the token file is missing (insecure).
Install Mechanism
This is an instruction-only skill (no install spec or code executed by the agent). Setup instructs cloning a GitHub repo and using Docker/KVM to provision a Windows VM and MT5; those are normal user-run operations and not performed by the agent itself. No arbitrary remote binaries are installed by the platform on behalf of the agent.
Credentials
The skill requires sensitive data for its function: broker login/password and an API token (and optionally Cloudflare tunnel credentials for public exposure). These are proportionate to a trading API, but the registry omitted declaring MT5_API_URL/MT5_API_TOKEN. Be cautious about where you store the broker credentials and cloudflared creds and avoid running the API without an auth token.
Persistence & Privilege
always:false and normal agent invocation are used. The skill does not request elevated platform privileges or modify other skills. However, because it enables automated trading, allow-listing or strict confirmation controls on autonomous agent actions are recommended to prevent unintentional trades.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install mt5-httpapi - 安装完成后,直接呼叫该 Skill 的名称或使用
/mt5-httpapi触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.2.0
- Added support for optional bearer token authentication via the MT5_API_TOKEN environment variable.
- Documentation updated to show how to use the Authorization header for all endpoints if server authentication is enabled.
- Described the behavior when no token is set or required; requests go through only if the server does not require a token.
- Added a mention of the new /terminal/restart endpoint.
- All example curl commands now include Authorization header usage where appropriate.
- Compatibility section updated to mention MT5_API_TOKEN as optional.
v1.1.0
Initial public release.
- Added API reference covering health checks, account info, symbols, orders, positions, and history endpoints.
- Included detailed field/key descriptions for safer pre-trade checks and parameter usage.
- Provided concise setup instructions and example curl commands for all major endpoints.
- Documented example position sizing calculations and helpful trading tips.
- Added dedicated [references/setup.md] file for installation details.
v1.0.0
mt5-httpapi 1.0.0 initial release
- Provides REST API access to MetaTrader 5 for market data retrieval and trading operations.
- Supports getting account info, symbols, terminal state, market history, open positions, and more.
- Enables placing, modifying, and closing orders on forex/crypto/stock markets via HTTP/JSON.
- Designed for easy integration using curl or similar tools — no MT5 libraries or Windows dependencies required.
- Includes environment variable setup instructions and clear API documentation.
元数据
常见问题
mt5-httpapi 是什么?
MetaTrader 5 trading via REST API — get market data, place/modify/close orders, manage positions, pull history. Use when you need to interact with forex/cryp... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1607 次。
如何安装 mt5-httpapi?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install mt5-httpapi」即可一键安装,无需额外配置。
mt5-httpapi 是免费的吗?
是的,mt5-httpapi 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
mt5-httpapi 支持哪些平台?
mt5-httpapi 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 mt5-httpapi?
由 Ciprian Mandache(@psyb0t)开发并维护,当前版本 v1.2.0。
推荐 Skills