gate-exchange-crossex

Use this skill for Gate CrossEx cross-exchange operations: order queries, position queries, and history queries across Gate, Binance, OKX and Bybit. Trigger phrases include "query positions", "order history", and "trade history".

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "gate-exchange-crossex" with this command: npx skills add gate/gate-skills/gate-gate-skills-gate-exchange-crossex

Gate CrossEx Trading Suite

This skill is the unified entry point for Gate CrossEx cross-exchange trading. It supports lots of core operations: order management, position query, and history query. User intents are routed to corresponding workflows.

General Rules

  • Read and follow the shared runtime rules before proceeding: → exchange-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.

Module Overview

ModuleDescriptionTrigger Keywords
OrdersQuery orders, order historyquery orders, order history, list orders
PositionsQuery all position types, history recordsquery positions, check positions, position history, positions
HistoryQuery order/position/trade/interest historyhistory query, trade history, interest history, history

Routing Rules

IntentExample PhrasesRoute To
Order Management"Query all open orders", "Query order history"Read references/order-management.md
Position Query"Query all my positions", "Show futures positions", "Position history"Read references/position-query.md
History Query"Query trade history", "Position history", "Margin interest history", "Account ledger"Read references/history-query.md
Unclear"Show account" , "Help me" , "Please Check my account"Clarify: Query account, then guide user

MCP Tools

This skill uses the CrossEx MCP toolset with the cex_crossex prefix as its only core tool family.

Scope rule: Only execute operations explicitly documented in this skill. Only call tools listed in the tables below or in references/*.md. Tools or operations not mentioned here must not be called.

Tool Naming Convention

  • List operations in the cex_crossex family query symbols, orders, positions, transfers, or history
  • Get operations in the cex_crossex family query a single account setting, fee, rate, or order detail

Symbol And Rule Tools

ToolPurpose
cex_crossex_list_crossex_rule_symbolsList supported CrossEx trading symbols
cex_crossex_list_crossex_rule_risk_limitsQuery symbol risk limit rules
cex_crossex_list_crossex_transfer_coinsList assets supported for CrossEx transfer
cex_crossex_get_crossex_feeQuery CrossEx trading fee information
cex_crossex_get_crossex_interest_rateQuery CrossEx interest rates
cex_crossex_list_crossex_coin_discount_rateQuery collateral discount rates

Account Tools

ToolPurpose
cex_crossex_get_crossex_accountQuery CrossEx account overview and balances
cex_crossex_list_crossex_account_bookQuery CrossEx account ledger entries

Transfer And Convert Tools

ToolPurpose
cex_crossex_list_crossex_transfersQuery transfer history

Order Tools

ToolPurpose
cex_crossex_list_crossex_open_ordersQuery current open orders
cex_crossex_get_crossex_orderQuery order details
cex_crossex_list_crossex_history_ordersQuery order history
cex_crossex_list_crossex_history_tradesQuery trade history

Position And Leverage Tools

ToolPurpose
cex_crossex_list_crossex_positionsQuery current futures positions
cex_crossex_list_crossex_margin_positionsQuery current margin positions
cex_crossex_get_crossex_positions_leverageQuery futures leverage settings
cex_crossex_get_crossex_margin_positions_leverageQuery margin leverage settings
cex_crossex_list_crossex_history_positionsQuery futures position history
cex_crossex_list_crossex_history_margin_positionsQuery margin position history
cex_crossex_list_crossex_history_margin_interestsQuery margin interest history
cex_crossex_list_crossex_adl_rankQuery ADL rank information

Usage Guidance

  • Use the cex_crossex MCP family as the default and only core MCP family for this skill.
  • Use list/get tools to query symbol rules, fees, balances, leverage, or supported assets.
  • Prefer history and account-book tools when the user asks for records, audit trails, or status verification.

Execution

1. Intent and Parameter Identification

  • Determine module (orders/positions/history)
  • Extract key parameters:
    • Trading Pair: GATE_SPOT_BTC_USDT, GATE_MARGIN_XRP_USDT, GATE_FUTURE_ETH_USDT
    • Exchange: GATE, BINANCE, OKX, BYBIT
    • Direction: BUY (buy/long), SELL (sell/short)
    • Quantity: USDT amount, coin quantity, contract size
    • Price: Limit, market
    • Leverage: Leverage multiplier (margin/futures only)
    • Position Side: LONG (long), SHORT (short, margin/futures only)
  • Missing Parameters: If required parameters are missing, ask user

2. Pre-checks

  • Trading Pair: Call cex_crossex_list_crossex_rule_symbols to verify
  • Account Balance: Call cex_crossex_get_crossex_account to check if available margin is sufficient
  • Position Check:
    • Margin Trading: Check existing positions to avoid direction conflicts
    • Futures Trading: Check dual-direction position mode
  • Exchange Status: Verify target exchange is operating normally

3. Module Logic

Module A: Order Management

  1. Query Orders:
    • Current open orders: Call cex_crossex_list_crossex_open_orders
    • Order details: Call cex_crossex_get_crossex_order
    • Order History: Call cex_crossex_list_crossex_history_orders (parameters: limit, page, from, to)
  2. Display Results: Display order information in table format

Module B: Position Query

  1. Query Types:
    • Futures positions: Call cex_crossex_list_crossex_positions
    • Margin positions: Call cex_crossex_list_crossex_margin_positions
    • Futures leverage: Call cex_crossex_get_crossex_positions_leverage
    • Margin leverage: Call cex_crossex_get_crossex_margin_positions_leverage
  2. History Query:
    • Position History: Call cex_crossex_list_crossex_history_positions (parameters: limit, page, from, to)
    • Margin Position History: Call cex_crossex_list_crossex_history_margin_positions
    • Trade History: Call cex_crossex_list_crossex_history_trades (parameters: limit, page, from, to)
  3. Display Format:
    • Current positions: Table format (pair, direction, quantity, entry price, unrealized PnL)
    • History records: Reverse chronological order, display recent N records

Module C: History Query

  1. Order History:
    • Call cex_crossex_list_crossex_history_orders
    • Parameters: limit (max 100), page, from (start timestamp), to (end timestamp)
  2. Trade History:
    • Call cex_crossex_list_crossex_history_trades
    • Same parameters as above
  3. Position History:
    • Call cex_crossex_list_crossex_history_positions
    • Same parameters as above
  4. Margin Position History:
    • Call cex_crossex_list_crossex_history_margin_positions
    • Same parameters as above
  5. Margin Interest History:
    • Call cex_crossex_list_crossex_history_margin_interests
    • Same parameters as above

Report Template

After each operation, output a concise standardized result.

Safety Rules

  • Scope rule: Only call tools documented in this skill. If the user requests an operation not documented here, respond that it is not supported by this skill.
  • Batch Operations: Display operation scope and impact, require explicit confirmation

Error Handling

Error CodeHandling
SYMBOL_NOT_FOUNDConfirm trading pair format is correct (e.g., GATE_SPOT_BTC_USDT)
INVALID_PARAM_VALUECheck parameter format (qty is numeric string, position_side is LONG/SHORT)

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

gate-exchange-futures

No summary provided by upstream source.

Repository SourceNeeds Review
46-gate
General

gate-exchange-spot

No summary provided by upstream source.

Repository SourceNeeds Review
44-gate
General

gate-mcp-openclaw-installer

No summary provided by upstream source.

Repository SourceNeeds Review
27-gate
General

gate-mcp-claude-installer

No summary provided by upstream source.

Repository SourceNeeds Review
23-gate