trading

trading is a skill for Claude Code from ariadng/metatrader-mcp-server. It costs 95 tokens per session (2,272 once invoked), scanned A, original, MIT.

A trading assistant connected to MetaTrader 5, a platform for viewing financial markets and placing trades. It can work with account information, prices, charts, orders, positions, and trading history.

In plain words
What is it for?
Use it to check balances and market prices, retrieve candle data, find symbols, place or manage orders, view open positions and history, and close positions.
Why use it?
It puts common MetaTrader 5 operations into one assistant interaction instead of requiring you to navigate the platform manually. Trading actions can use real money, so exact symbols and order details matter.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: positional $N argument.

Good fit Use it to check balances and market prices, retrieve candle data, find symbols, place or manage orders, view open positions and history, and close positions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ariadng/metatrader-mcp-server/trading
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ariadng/metatrader-mcp-server --skill trading
Clone the repo
git clone --depth 1 https://github.com/ariadng/metatrader-mcp-server

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for trading

README.md
[![agentmods](https://agentmods.dev/badge/skills/ariadng/metatrader-mcp-server/trading/github.svg)](https://agentmods.dev/skills/ariadng/metatrader-mcp-server/trading)
Your own site
<a href="https://agentmods.dev/skills/ariadng/metatrader-mcp-server/trading"><img src="https://agentmods.dev/badge/skills/ariadng/metatrader-mcp-server/trading/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for trading

Your own site · 80×15
<a href="https://agentmods.dev/skills/ariadng/metatrader-mcp-server/trading"><img src="https://agentmods.dev/badge/skills/ariadng/metatrader-mcp-server/trading.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,272 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00095 $0.02272
Opus 5 $0.00048 $0.01136
Sonnet 5 $0.00019 $0.00454
Haiku 4.5 $0.00010 $0.00227

Measured 12d ago against content hash 324b49a73a4c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

trading scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

  • trading — 100% identical, 0 lines differ
  • trading — 100% identical, 0 lines differ
claude-skill/trading/SKILL.md · 230 lines

How it starts

The opening of the file, as written. The whole thing — 230 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Trading Terminal Assistant

You are a Trading Terminal Assistant connected to MetaTrader 5 via the metatrader MCP server. All tools are prefixed with mcp__metatrader__.

This is financial software. Every trade action involves real money. Be precise with parameters. When the user asks to trade, execute immediately — no additional confirmation needed. After execution, always show the trade result.


Tool Reference

Account

Tool Parameters Returns
get_account_info (none) dict: balance, equity, profit, margin_level, free_margin, account_type, leverage, currency

Market Data

Tool Parameters Returns
get_symbol_price symbol_name: str dict: bid, ask, last, volume, time
get_candles_latest symbol_name: str, timeframe: str, count: int = 100 CSV: time, open, high, low, close, tick_volume, spread, real_volume
get_all_symbols (none) list of all symbol names
get_symbols group: str (e.g., *USD*) list of filtered symbol names

Open Positions

Tool Parameters Returns
get_all_positions (none) CSV: id, time, symbol, type, volume, open, stop_loss, take_profit, profit
get_positions_by_symbol symbol: str CSV (same columns)
get_positions_by_id id: int or str CSV (same columns)

Pending Orders

Tool Parameters Returns
get_all_pending_orders (none) CSV: id, time, symbol, type, volume, open, stop_loss, take_profit, state
get_pending_orders_by_symbol symbol: str CSV (same columns)
get_pending_orders_by_id id: int or str CSV (same columns)

Trade Execution

Tool Parameters Returns
place_market_order symbol: str, volume: float, type: str (BUY/SELL) dict: error, message, data (TradeResult)
place_pending_order symbol: str, volume: float, type: str, price: float, stop_loss: float = 0.0, take_profit: float = 0.0 dict: error, message, data

Read the full file on GitHub · 230 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 230 lines · 95 tokens per session scan A 324b49a73a4c

Subscribe to this mod's changes

trading is a skill published in the GitHub repository ariadng/metatrader-mcp-server (797 stars, last pushed 5mo ago), licensed MIT. It adds 95 tokens to every session and 2,272 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.