trading

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

A MetaTrader 5 assistant for checking accounts and market data and managing trades. MetaTrader 5 is a platform for viewing markets, positions, orders, and trading history.

In plain words
What is it for?
Viewing balances, prices, candles, symbols, positions, orders, and history; placing or closing trades; and managing pending orders in MT5.
Why use it?
It brings account checks and trade management into the agent conversation, while actions can affect real money.

Skill for Claude Code

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

Good fit Viewing balances, prices, candles, symbols, positions, orders, and history; placing or closing trades; and managing pending orders in MT5.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pongsakorn-onsri/metatrader-mcp-server-mac/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 pongsakorn-onsri/metatrader-mcp-server-mac --skill trading
Clone the repo
git clone --depth 1 https://github.com/pongsakorn-onsri/metatrader-mcp-server-mac

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/pongsakorn-onsri/metatrader-mcp-server-mac/trading/github.svg)](https://agentmods.dev/skills/pongsakorn-onsri/metatrader-mcp-server-mac/trading)
Your own site
<a href="https://agentmods.dev/skills/pongsakorn-onsri/metatrader-mcp-server-mac/trading"><img src="https://agentmods.dev/badge/skills/pongsakorn-onsri/metatrader-mcp-server-mac/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/pongsakorn-onsri/metatrader-mcp-server-mac/trading"><img src="https://agentmods.dev/badge/skills/pongsakorn-onsri/metatrader-mcp-server-mac/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 100% copy Near-identical to another mod 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 11d 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 11d 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

This is a copy

100% identical to trading — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

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. 11d 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 pongsakorn-onsri/metatrader-mcp-server-mac (0 stars, last pushed 2mo 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. It is 100% identical to trading, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

sector-rotation

An analysis framework for comparing industries in the Chinese A-share stock market, using business conditions, price momentum, valuation, and money flows. It produces rankings and higher- or lower-allocation suggestions.

HKUDS/Vibe-Trading · 39 tokens

strategy-pivot-designer

Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.

tradermonty/claude-trading-skills · 28 tokens

twitter-reader

Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…

himself65/finance-skills · 161 tokens

chenhao-limit-up

A framework for judging Chinese A-share stocks that have reached the daily price-rise limit, using market mood, sector leadership, and trading momentum.

questflowai/investorskills · 44 tokens

furusato

A Japanese hometown-tax donation manager for furusato nozei, a system where donations to municipalities can qualify for an income-tax or local-tax deduction. It reads donation receipts, stores donation records, and calculates deduction limits.

kazukinagata/shinkoku · 102 tokens

reading-receipt

An image-reading workflow for extracting structured information from receipts, invoices, and hometown-tax donation certificates. It can first extract text from PDFs and otherwise read their images.

kazukinagata/shinkoku · 64 tokens