trade

trade is a skill for Claude Code from EternaHybridExchange/mcp-trading-agent. It costs 20 tokens per session (479 once invoked), scanned A, original, MIT.

A procedure for placing a perpetual-futures trade, a contract that lets traders speculate on an asset's price without an expiry date.

In plain words
What is it for?
Use it to inspect the account and market, calculate a position size from a chosen risk percentage and stop-loss distance, set leverage, and place the trade with risk controls.
Why use it?
It checks available funds, existing exposure, instrument limits, current prices, leverage, and stop-loss risk before sending an order. This reduces errors from invalid order sizes or insufficient margin.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to inspect the account and market, calculate a position size from a chosen risk percentage and stop-loss distance, set leverage, and place the trade with risk controls.

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

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 trade

README.md
[![agentmods](https://agentmods.dev/badge/skills/eternahybridexchange/mcp-trading-agent/trade/github.svg)](https://agentmods.dev/skills/eternahybridexchange/mcp-trading-agent/trade)
Your own site
<a href="https://agentmods.dev/skills/eternahybridexchange/mcp-trading-agent/trade"><img src="https://agentmods.dev/badge/skills/eternahybridexchange/mcp-trading-agent/trade/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 trade

Your own site · 80×15
<a href="https://agentmods.dev/skills/eternahybridexchange/mcp-trading-agent/trade"><img src="https://agentmods.dev/badge/skills/eternahybridexchange/mcp-trading-agent/trade.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 479 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.00020 $0.00479
Opus 5 $0.00010 $0.00239
Sonnet 5 $0.00004 $0.00096
Haiku 4.5 $0.00002 $0.00048

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

Security

Grade A, and why

trade 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.

claude-code/.claude/skills/trade/SKILL.md · 66 lines

What it actually says

Trade Placement

Follow these steps to place a trade on Bybit perpetual futures via the Eterna MCP Gateway.

Steps

1. Check Balance

Call get_balance to determine the available USDT balance and margin. Confirm there is sufficient free margin for the intended trade.

2. Check Existing Positions

Call get_positions to see all open positions. Verify you are not already exposed to the same symbol. If a position exists, decide whether to add to it or skip.

3. Get Instrument Details

Call get_instruments for the target symbol to retrieve:

  • Minimum order quantity
  • Lot size (quantity step)
  • Tick size (price step)
  • Maximum leverage

4. Get Current Price

Call get_tickers for the target symbol to get the current mark price and last traded price.

5. Calculate Position Size

Use the following formula:

risk_amount = available_balance * risk_percentage
position_size = risk_amount / (entry_price * stop_loss_distance)

Default values:

  • risk_percentage = 0.02 (2% of balance)
  • stop_loss_distance = 0.006 (0.6% from entry)

Round down to the nearest valid lot size from step 3.

6. Set Leverage

Call set_leverage with the desired leverage for the symbol. Default to 10x if not specified.

7. Place the Order

Call place_order with:

  • symbol -- the trading pair (e.g., BTCUSDT)
  • side -- Buy (long) or Sell (short)
  • orderType -- Market or Limit
  • qty -- the calculated position size
  • takeProfit -- target price (default 1.0% from entry)
  • stopLoss -- stop price (default 0.6% from entry)

8. Verify the Position

Call get_positions to confirm the position was opened with the correct size, leverage, take-profit, and stop-loss.

Report the trade details: symbol, side, size, entry price, leverage, TP, and SL.

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 · 66 lines · 20 tokens per session scan A f011326d3e0f

Subscribe to this mod's changes

trade is a skill published in the GitHub repository EternaHybridExchange/mcp-trading-agent (6 stars, last pushed 6mo ago), licensed MIT. It adds 20 tokens to every session and 479 once invoked, about $0.0001 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-31.