Xpersona
G

Gate Exchange TradFi Query Skill

CLAWHUB · Unverified

Gate TradFi (traditional finance) skill. Use when the user asks to query or trade traditional finance assets like forex or commodities on Gate. Triggers on '...

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s172g4d1dcv6ccs6desbb2xw1583qza9:gate-exchange-tradfi
  1. Install using `clawhub skill install s172g4d1dcv6ccs6desbb2xw1583qza9:gate-exchange-tradfi` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/gate-exchange/gate-exchange-tradfi before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-gate-exchange-gate-exchange-tradfi/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

140,100 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: gate-exchange-tradfi
version: "2026.3.23-1"
updated: "2026-03-23"
description: "Gate TradFi (traditional finance) skill. Use when the user asks to query or trade traditional finance assets like forex or commodities on Gate. Triggers on 'TradFi orders', 'MT5 account', 'TradFi positions'. Do NOT use for fund transfer."
---

# Gate TradFi Suite

## General Rules

⚠️ STOP — You MUST read and strictly follow the shared runtime rules before proceeding.
Do NOT select or call any tool until all rules are read. These rules have the highest priority.
→ Read [gate-runtime-rules.md](https://github.com/gate/gate-skills/blob/master/skills/gate-runtime-rules.md)
- **Only call MCP tools explicitly listed in this skill.** Tools not documented here must NOT be called, even if they
  exist in the MCP server.


---

## MCP Dependencies

### Required MCP Servers
| MCP Server | Status |
|------------|--------|
| Gate (main) | ✅ Required |

### MCP Tools Used

**Query Operations (Read-only)**

- cex_tradfi_query_categories
- cex_tradfi_query_mt5_account_info
- cex_tradfi_query_order_history_list
- cex_tradfi_query_order_list
- cex_tradfi_query_position_history_list
- cex_tradfi_query_position_list
- cex_tradfi_query_symbol_detail
- cex_tradfi_query_symbol_kline
- cex_tradfi_query_symbol_ticker
- cex_tradfi_query_symbols
- cex_tradfi_query_user_assets

**Execution Operations (Write)**

- cex_tradfi_close_position
- cex_tradfi_create_tradfi_order
- cex_tradfi_delete_order
- cex_tradfi_update_order
- cex_tradfi_update_position

### Authentication
- API Key Required: Yes (see skill doc/runtime MCP deployment)
- Permissions: Tradfi:Write
- Get API Key: https://www.gate.io/myaccount/profile/api-key/manage

### Installation Check
- Required: Gate (main)
- Install: Run installer skill for your IDE
  - Cursor: `gate-mcp-cursor-installer`
  - Codex: `gate-mcp-codex-installer`
  - Claude: `gate-mcp-claude-installer`
  - OpenClaw: `gate-mcp-openclaw-installer`

## MCP Mode

**Read and strictly follow** [`references/mcp.md`](./references/mcp.md), then execute this skill's TradFi workflow.

- `SKILL.md` keeps routing and domain constraints.
- `references/mcp.md` is the authoritative MCP execution layer for query/mutation separation, confirmation gates, and post-action verification.

## Sub-Modules


| Module              | Description                                      | Trigger keywords                                                                               |
| ------------------- | ------------------------------------------------ | ---------------------------------------------------------------------------------------------- |
| **Query orders**    | Order list, order history                       | `orders`, `open orders`, `order history`                                                        |
| **Query positions** | Current position list, position history          | `positions`, `my positions`, `position history`, `holdings`, `current position`                

README.md

# Gate Exchange TradFi Query Skill

## Overview

AI Agent skill for querying Gate TradFi (traditional finance) data in read-only mode. All MCP tools used are prefixed with `cex_tradfi`. It supports four query areas: order list and order history, current and historical positions, market data (category list, symbol list, ticker, symbol kline), and user assets plus MT5 account info. **No order placement, fund transfer, or balance transfer.**

### Core Capabilities

| Module              | Description                                           | Example prompts                                                       |
| ------------------- | ----------------------------------------------------- | --------------------------------------------------------------------- |
| **Query orders**    | Order list, order history                             | "My TradFi orders", "Order history"                                  |
| **Query positions** | Current position list, position history               | "My positions", "Position history", "Current holdings"               |
| **Query market**    | Category list, symbol list, ticker, symbol kline      | "TradFi categories", "Symbol list", "Ticker for X", "Kline 1d"       |
| **Query assets**    | User balance/asset info, MT5 account info             | "My assets", "Balance", "MT5 account", "My MT5 info"                 |

## Architecture

This skill uses a **routing architecture**:

- **SKILL.md** defines the four sub-modules, routing rules, MCP tool list (all `cex_tradfi_*`), and execution flow. Intent is mapped to one of the reference documents.
- **references/** holds one document per module:
  - `query-orders.md` — order list, order history
  - `query-positions.md` — current position list, position history
  - `query-market.md` — category list, symbol list, ticker, symbol kline
  - `query-assets.md` — user assets/balance, MT5 account info

Each reference contains a Workflow (steps and tool calls), Report Template, and scenarios with Context, Prompt Examples, and Expected Behavior. The agent loads the matching reference and follows its workflow to call the appropriate `cex_tradfi_*` MCP tools and format the response.

## Prerequisites

- Gate MCP configured and connected with TradFi tools (all prefixed with `cex_tradfi_`, e.g. `cex_tradfi_query_order_list`, `cex_tradfi_query_categories`, `cex_tradfi_query_mt5_account_info`). If your MCP uses different tool names, map them in SKILL.md or in the reference docs.

## Example Prompts

```
# Orders
"My TradFi open orders"
"Order history"

# Positions
"My positions"
"Position history"

# Market
"TradFi category list"
"Symbol list"
"Ticker for EURUSD"
"Kline 1d for EURUSD"

# Assets
"My TradFi balance"
"Account balance"
"MT5 account"
"My MT5 info"
```

## File Structure

```
gate-exchange-tradfi/
├── README.md
├── SKILL.md
├── CHANGELOG.md
└── references/
    ├── query-orders.md
    ├── query-positions.md
    ├── query-market.md
    └── query-assets.md
```

## Security 

_meta.json

{
  "ownerId": "kn74x9hm07phcw70v30nff2x2h82t09z",
  "slug": "gate-exchange-tradfi",
  "version": "1.0.2",
  "publishedAt": 1775115373882
}

references/amend-order.md

# Gate TradFi Amend Order

Amend an existing TradFi order: **price** and/or **take-profit / stop-loss price** only. **Size is not supported** by `cex_tradfi_update_order`. Use only MCP-documented tool names and parameters.

## MCP tools and parameters

| Tool | Purpose | Parameters (declare per MCP) |
| -----| --------| -----------------------------|
| `cex_tradfi_update_order` | Amend one order | Supports **price** and **take-profit / stop-loss price** only. **Does not support changing size.** Required/optional from MCP: order_id, and at least one of new price, take-profit price, stop-loss price. Do not pass size or parameters not documented in the MCP. |

- **Conditions and limits**: Only open orders can be amended. Value constraints (price step, etc.) must follow MCP or API rules. **Do not pass or prompt for size** — the tool does not support it.
- **Order id source**: The order id for `cex_tradfi_update_order` **must** come from **`cex_tradfi_query_order_list`** (the open order list). **Do not use** the `id` or `log_id` returned by `cex_tradfi_create_tradfi_order` — those cannot be used for amend. Resolve from `cex_tradfi_query_order_list` if user refers to order by position or description.

## Pre-execution confirmation

Before calling `cex_tradfi_update_order`: **output all parameters** that will be sent (e.g. order_id, new price, take-profit price, stop-loss price). Show before/after if available. Ask the user to confirm. Do **not** call the tool until the user explicitly confirms.

---

## Workflow

1. Identify the order to amend (from user-provided order_id or by listing open orders and letting user choose).
2. Determine what to change per user message: **price** and/or **take-profit price** and/or **stop-loss price** only. If the user asks to change size, tell them the tool does not support changing size.
3. Build parameter set using **only MCP-documented parameters** (no size).
4. **Output the full parameter set (and before/after) to the user and ask for confirmation.** Do not call the tool until user confirms.
5. After confirmation, call `cex_tradfi_update_order`.
6. In the response: **explain the parameters that were used** and the outcome (success or error). Use the Report Template below.

## Report Template

After execution, include:

- **Parameters used**: What was sent (e.g. order_id, new price, take-profit, stop-loss).
- **Result**: Success (updated order state) or error code/message. If error, restate the sent parameters and suggest correction.

---

## Scenario 1: Amend price

**Context**: User wants to change the limit price of an open order.

**Prompt Examples**:
- "Amend order 12345 price to 1.0600"
- "Change order price to 1.06"
- "Update my EURUSD order price to 1.0600"

**Expected Behavior**:
1. Resolve order (by order_id or from list). Get current price.
2. Build params: order_id, new price. Output for confirmation.
3. After confirmation, call `cex_tradfi_update_order`.
4. Respond with parameters used and result.

**Res

references/cancel-order.md

# Gate TradFi Cancel Order

Cancel one TradFi order per call. Use only MCP-documented tool names and parameters. **Only one tool: `cex_tradfi_delete_order`; it does not support batch** — one order per call. To cancel multiple orders, call it once for each order. Declare conditions and limits from the MCP here.

## MCP tools and parameters

| Tool | Purpose | Parameters (declare per MCP) |
| -----| --------| -----------------------------|
| `cex_tradfi_delete_order` | Cancel/delete one order | Required: order identifier (order_id). Use only parameters documented in the MCP. Does not support batch. |

- **Order id source**: The order id for `cex_tradfi_delete_order` **must** come from **`cex_tradfi_query_order_list`** (the open order list). **Do not use** the `id` or `log_id` returned by `cex_tradfi_create_tradfi_order` — those cannot be used as the cancel/delete parameter. If the user wants to cancel an order they just placed, call `cex_tradfi_query_order_list` first and use the order id from that response.
- **Conditions and limits**: Only open orders can be cancelled. **Multiple orders**: call `cex_tradfi_delete_order` once per order.

## Pre-execution confirmation

Before calling `cex_tradfi_delete_order`: **output what will be cancelled** (e.g. order_id). Ask the user to confirm. Do **not** call the tool until the user explicitly confirms.

---

## Workflow

1. Identify the order to cancel: by order_id from user, or list open orders and let user choose one (by number).
2. Build parameter set using **only MCP-documented parameters**.
3. **Output the target (order_id) to the user and ask for confirmation.** Do not call the tool until user confirms.
4. After confirmation, call `cex_tradfi_delete_order` with the order_id. For more than one order, repeat (one call per order).
5. In the response: **explain what was cancelled** (parameters sent) and the outcome. Use the Report Template below.

## Report Template

After execution, include:

- **Parameters used**: What was sent (e.g. order_id for each call).
- **Result**: Success (cancelled) or error code/message. If error, restate the sent parameters and suggest correction.

---

## Scenario 1: Cancel by order_id

**Context**: User provides an order identifier to cancel.

**Prompt Examples**:
- "Cancel order 12345"
- "Revoke order 12345"
- "Cancel my order 12345"

**Expected Behavior**:
1. Parse order_id. Output it for confirmation.
2. After confirmation, call `cex_tradfi_delete_order` with order_id.
3. Respond with parameters used and result.

**Response Template**:
```
Parameters sent:
| Order ID |
| 12345    |

Result: Order cancelled.
```

---

## Scenario 2: List orders then cancel

**Context**: User wants to cancel but does not know order_id; list open orders first.

**Prompt Examples**:
- "Cancel my order"
- "Show my orders" (then user selects which to cancel)

**Expected Behavior**:
1. Call `cex_tradfi_query_order_list` (with only MCP-documented params).
2. Show order list with numbered option

Sponsored

Ads related to Gate Exchange TradFi Query Skill and adjacent AI workflows.