1---2name: gate-exchange-tradfi3description: Gate TradFi (traditional finance) read-only query skill using MCP tools prefixed with cex_tradfi. Use this skill whenever the user asks to query TradFi order list, order history, current or historical positions, category list, symbol list, ticker, symbol kline, user assets, or MT5 account info on Gate. Trigger phrases include 'TradFi orders', 'order history', 'positions', 'position history', 'category list', 'symbol list', 'ticker', 'kline', 'my assets', 'MT5 account', or any request to view TradFi data. Do not use for placing orders or transferring funds.4---56# Gate TradFi Query Suite78This skill is the single entry for Gate TradFi (traditional finance) **read-only** operations. All MCP tools used are prefixed with `cex_tradfi`. It supports four query modules: orders and order history, current and historical positions, market data (category list, symbol list, ticker, symbol kline), and user assets plus MT5 account information. No order placement or fund transfer.910## Sub-Modules111213| Module | Description | Trigger keywords |14| ------------------- | ------------------------------------------------ | ---------------------------------------------------------------------------------------------- |15| **Query orders** | Order list, order history | `orders`, `open orders`, `order history` |16| **Query positions** | Current position list, position history | `positions`, `my positions`, `position history`, `holdings`, `current position` |17| **Query market** | Category list, symbol list, ticker, symbol kline | `category`, `categories`, `symbol list`, `symbols`, `ticker`, `kline`, `candlestick`, `market` |18| **Query assets** | User balance/asset info, MT5 account info | `assets`, `balance`, `account`, `my funds`, `MT5`, `mt5 account` |192021## Routing Rules222324| Intent | Example phrases | Route to |25| ------------------- | ------------------------------------------------------------------------------------------- | -------------------------------------------------------------------- |26| **Query orders** | "My TradFi orders", "order history", "show open orders", "order status" | Read `references/query-orders.md` |27| **Query positions** | "My positions", "position history", "current holdings", "what am I holding" | Read `references/query-positions.md` |28| **Query market** | "TradFi categories", "category list", "symbol list", "ticker", "kline for X", "market data" | Read `references/query-market.md` |29| **Query assets** | "My assets", "balance", "account balance", "MT5 account", "my MT5 info" | Read `references/query-assets.md` |30| **Unclear** | "TradFi", "show me my TradFi" | **Clarify**: list the four modules or ask which data the user wants. |313233## MCP Tools343536| # | Tool | Purpose |37| ---| --------------------------------------- | ------- |38| 1 | `cex_tradfi_query_order_list` | List open orders. Use only parameters documented in the MCP . |39| 2 | `cex_tradfi_query_order_history_list` | Query order history list (filled/cancelled). Use only MCP-documented parameters. |40| 3 | `cex_tradfi_query_position_list` | List current positions. |41| 4 | `cex_tradfi_query_position_history_list` | List historical positions/settlements. |42| 5 | `cex_tradfi_query_categories` | Query TradFi category list. |43| 6 | `cex_tradfi_query_symbols` | List symbols (by category if supported). |44| 7 | `cex_tradfi_query_symbol_ticker` | Get ticker(s) for symbol(s). |45| 8 | `cex_tradfi_query_symbol_kline` | Get kline/candlestick for symbol. |46| 9 | `cex_tradfi_query_user_assets` | Get user account/balance (assets). |47| 10 | `cex_tradfi_query_mt5_account_info` | Get MT5 account info (or equivalent MT5 tool). |484950## Execution5152### 1. Intent and parameters5354- Determine module: Query orders / Query positions / Query market / Query assets.55- For each MCP tool call, use **only the parameters defined in the Gate TradFi MCP tool definition**. Do not pass parameters that are not documented in the MCP.56- Extract from user message only those keys that the MCP actually supports for the chosen tool (e.g. symbol, category, interval, limit only if documented).57- **Missing**: If the user request is ambiguous (e.g. "my TradFi"), list the four modules and ask which data they want, or infer from keywords.5859### 2. Read sub-module and call tools6061- Load the corresponding reference under `references/` and follow its Workflow.62- Call MCP tools with the parameters extracted or prompted. This skill is **read-only**; do not call any create/cancel/amend/update tools.6364### 3. Report6566- Use the sub-module’s Report Template to format the response (tables for orders/positions/tickers, clear labels for assets).6768## Domain Knowledge6970- **TradFi** here means Gate’s traditional finance product set (e.g. FX, MT5, or other non-crypto instruments). Symbols and categories are product-specific.71- **Orders**: Open orders → `cex_tradfi_query_order_list`. Order history → `cex_tradfi_query_order_history_list`. Use only MCP-documented parameters.72- **Positions**: Current positions are live; history may be paginated or time-filtered.73- **Market**: **Category list** returns TradFi product categories; **symbol list** returns tradeable symbols (optionally by category). **Ticker** returns last price, 24h change, volume for symbol(s). **Kline** needs symbol, `interval` (e.g. 1m, 5m, 1d), and optional `limit` or time range.74- **Assets**: User account/balance may be per asset or aggregated. **MT5 account** info is separate (login, server, balance, etc.); use `cex_tradfi_query_mt5_account_info` or equivalent.7576## Error Handling777879| Situation | Action |80| -------------------------- | ------------------------------------------------------------------------------------------------------- |81| Tool not found / 4xx/5xx | Tell user the TradFi service or tool may be unavailable; suggest retry or check Gate MCP configuration. |82| Empty list | Report "No open orders" / "No positions" / "No symbols" etc., and do not assume error. |83| Invalid symbol / order not found | Report "Order not found" or "Symbol not found" and suggest checking symbol list. |84| Auth / permission error | Do not expose credentials; ask user to check API key or MCP auth for TradFi. |858687## Safety Rules8889- **Read-only**: This skill must only query data. Do not call any order-placement, cancel, amend, or transfer tools.90- **Confirmation**: Not required for query-only flows; only display data after tool success.91- **Sensitive data**: When showing balances or positions, do not log or store; display only in the current response.9293## Report Template9495After each query, output a short standardized result:9697- **Orders**: Table with columns such as symbol, side, size, price, status, time (from list response).98- **Positions**: Table with position fields (e.g. symbol, side, size, entry, margin) or "No open positions."99- **Market**: Category list table; or symbol list table; or ticker table (symbol, last, 24h change, volume); or symbol kline summary (interval, range, OHLC).100- **Assets**: List of assets and balances (available, locked if applicable), or "Unable to load assets" on error. **MT5**: Account/server/balance/equity table or "Unable to load MT5 account" on error.101