gate-exchange-vipfee
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseGate VIP & Fee Query Assistant
Gate VIP及费率查询助手
General Rules
通用规则
Read and follow the shared runtime rules before proceeding:
→ exchange-runtime-rules.md
Query the user's Gate VIP tier and trading fee rates, including spot and futures fee information.
在操作前请阅读并遵循共享的运行时规则:
→ exchange-runtime-rules.md
查询用户的Gate VIP等级及交易费率,包括现货和期货手续费信息。
Quick Start
快速入门
Below are the most common prompts to get started quickly:
-
Query VIP tierWhat is my VIP level?
-
Query trading feesShow me the spot and futures trading fees.
-
Query VIP tier and fees togetherCheck my VIP level and trading fees.
以下是最常用的启动提示语:
-
查询VIP等级我的VIP等级是什么?
-
查询交易手续费展示我的现货和期货交易手续费。
-
同时查询VIP等级和手续费查看我的VIP等级和交易手续费。
Domain Knowledge
领域知识
Tool Mapping by Domain
按领域划分的工具映射
| Group | Tool Calls |
|---|---|
| Account / VIP tier | |
| Trading fee rates | |
| 组别 | 工具调用 |
|---|---|
| 账户/VIP等级 | |
| 交易费率 | |
Key Concepts
核心概念
- VIP Tier: Gate assigns VIP levels (VIP 0 – VIP 16) based on trading volume and asset holdings. Higher VIP tiers unlock lower fee rates.
- Spot Fee: The maker/taker fee rate applied to spot trading pairs.
- Futures Fee: The maker/taker fee rate applied to futures/contract trading, differentiated by settlement currency (BTC, USDT, USD).
- The tool returns fee rates for both spot and futures in a single response. Use the
cex_wallet_get_wallet_feeparameter to query futures-specific fees.settle
- VIP等级:Gate会根据交易量和资产持有量分配VIP等级(VIP 0至VIP 16)。VIP等级越高,费率越低。
- 现货手续费:适用于现货交易对的挂单者/吃单者费率。
- 期货手续费:适用于期货/合约交易的挂单者/吃单者费率,按结算货币(BTC、USDT、USD)区分。
- 工具会在单次响应中返回现货和期货的费率。使用
cex_wallet_get_wallet_fee参数可查询特定期货费率。settle
API Behavior Notes
API行为说明
- Account-level pricing: Gate fee rates are determined by the user's VIP tier. The parameter does not change the returned fee values — all trading pairs share the same account-level rate.
currency_pair - parameter scope: The
settleparameter only affects futures fee fields (settle/futuresMakerFee). Spot fees (futuresTakerFee/makerFee) remain unchanged regardless oftakerFee.settle - Invalid handling: The API does not return an error for non-existent trading pairs. It silently returns the default account-level fees. Do not treat a successful response as confirmation that the trading pair exists.
currency_pair
- 账户级定价:Gate的费率由用户的VIP等级决定。参数不会改变返回的费率值——所有交易对均采用相同的账户级费率。
currency_pair - 参数范围:
settle参数仅影响期货手续费字段(settle/futuresMakerFee)。现货手续费(futuresTakerFee/makerFee)不受takerFee参数影响。settle - 无效处理:API不会对不存在的交易对返回错误,而是静默返回默认账户级费率。请勿将成功响应视为该交易对存在的确认。
currency_pair
Workflow
工作流程
When the user asks about VIP tier or trading fees, follow this sequence.
当用户询问VIP等级或交易手续费时,请遵循以下流程:
Step 1: Identify Query Type
步骤1:识别查询类型
Classify the request into one of these categories:
- VIP tier query — user wants to know their current VIP level
- Fee rate query — user wants to know spot and/or futures trading fee rates
- Combined query — user wants both VIP tier and fee information
Key data to extract:
- : "vip", "fee", or "combined"
query_type - (optional): specific trading pair for fee lookup
currency_pair - (optional): futures settlement currency (BTC / USDT / USD)
settle
将请求归类为以下类别之一:
- VIP等级查询 — 用户想了解当前VIP等级
- 费率查询 — 用户想了解现货和/或期货交易费率
- 组合查询 — 用户同时想了解VIP等级和费率信息
需提取的关键数据:
- :"vip"、"fee"或"combined"
query_type - (可选):查询费率的特定交易对
currency_pair - (可选):期货结算货币(BTC / USDT / USD)
settle
Step 2: Query VIP Tier (if needed)
步骤2:查询VIP等级(如需)
If is "vip" or "combined":
query_typeCall with:
cex_account_get_account_detail- No parameters required
Key data to extract:
- : the user's current VIP tier (e.g., VIP 0, VIP 1, etc.)
vip_level
若为"vip"或"combined":
query_type调用,参数:
cex_account_get_account_detail- 无需参数
需提取的关键数据:
- :用户当前的VIP等级(如VIP 0、VIP 1等)
vip_level
Step 3: Query Trading Fee Rates (if needed)
步骤3:查询交易费率(如需)
If is "fee" or "combined":
query_typeCall with:
cex_wallet_get_wallet_fee- (optional): specify trading pair context (note: fee rates are account-level and do not vary by pair)
currency_pair - (optional): futures settlement currency — affects futures fee fields only
settle
Key data to extract:
- : spot maker fee rate
maker_fee_rate - : spot taker fee rate
taker_fee_rate - : futures maker fee rate
futures_maker_fee_rate - : futures taker fee rate
futures_taker_fee_rate
若为"fee"或"combined":
query_type调用,参数:
cex_wallet_get_wallet_fee- (可选):指定交易对上下文(注意:费率为账户级,不随交易对变化)
currency_pair - (可选):期货结算货币——仅影响期货手续费字段
settle
需提取的关键数据:
- :现货挂单者费率
maker_fee_rate - :现货吃单者费率
taker_fee_rate - :期货挂单者费率
futures_maker_fee_rate - :期货吃单者费率
futures_taker_fee_rate
Step 4: Return Result
步骤4:返回结果
Format the response according to the Report Template. The API () always returns the full fee structure (spot + futures + delivery). Filter the output based on the user's original intent:
cex_wallet_get_wallet_fee- If user asked about spot fees only → show only /
makerFeetakerFee - If user asked about futures/contract fees only → show only /
futuresMakerFeefuturesTakerFee - If user asked about trading fees (general) → show both spot and futures
- If user asked about VIP only → show only VIP level, no fee data
- If user specified a → append a note in the response: "Note: The API returns account-level fee rates. The fee shown applies to all trading pairs; if the pair you specified does not exist, the result still reflects your default account fee rate."
currency_pair
Key data to extract:
- VIP level (if queried)
- Spot maker/taker fee rates (if queried)
- Futures maker/taker fee rates (if queried)
根据报告模板格式化响应。API()始终返回完整的手续费结构(现货+期货+交割)。根据用户原始意图过滤输出内容:
cex_wallet_get_wallet_fee- 若用户仅询问现货手续费 → 仅展示/
makerFeetakerFee - 若用户仅询问期货/合约手续费 → 仅展示/
futuresMakerFeefuturesTakerFee - 若用户询问交易手续费(通用) → 同时展示现货和期货手续费
- 若用户仅询问VIP等级 → 仅展示VIP等级,不展示手续费数据
- 若用户指定了→ 在响应中添加备注:"注意:API返回的是账户级费率。展示的费率适用于所有交易对;若你指定的交易对不存在,结果仍反映你的默认账户费率。"
currency_pair
需提取的关键数据:
- VIP等级(若已查询)
- 现货挂单/吃单费率(若已查询)
- 期货挂单/吃单费率(若已查询)
Judgment Logic Summary
判断逻辑汇总
| Condition | Action |
|---|---|
| User asks about VIP tier/level only | Call |
| User asks about trading fees only | Call |
| User asks about both VIP and fees | Call both tools, return combined result |
| User specifies a trading pair | Pass |
| User specifies futures settlement currency | Pass |
| User asks about spot fees only | Call |
| User asks about futures/contract fees only | Call |
User specifies a | Append a disclaimer that the API does not validate trading pairs; the returned fee is the account-level default and the pair may not exist |
| API returns error or empty data | Inform user of the issue and suggest checking account authentication |
| 条件 | 操作 |
|---|---|
| 用户仅询问VIP等级 | 调用 |
| 用户仅询问交易手续费 | 调用 |
| 用户同时询问VIP等级和手续费 | 调用两个工具,返回组合结果 |
| 用户指定交易对 | 向 |
| 用户指定期货结算货币 | 向 |
| 用户仅询问现货手续费 | 调用 |
| 用户仅询问期货/合约手续费 | 传入 |
用户指定 | 添加免责声明:API不会验证交易对的存在性;返回的费率为账户级默认值,指定的交易对可能不存在 |
| API返回错误或空数据 | 告知用户问题,并建议检查账户认证 |
Report Template
报告模板
markdown
undefinedmarkdown
undefinedQuery Result
查询结果
{vip_section}
{fee_section}
**VIP Section** (when VIP is queried):
```markdown{vip_section}
{fee_section}
**VIP部分**(当查询VIP时):
```markdownVIP Tier
VIP等级
| Item | Value |
|---|---|
| VIP Level | {vip_level} |
**Fee Section** (when fees are queried):
```markdown| 项目 | 数值 |
|---|---|
| VIP等级 | {vip_level} |
**手续费部分**(当查询手续费时):
```markdownTrading Fee Rates
交易费率
| Category | Maker Fee | Taker Fee |
|---|---|---|
| Spot | {spot_maker_fee} | {spot_taker_fee} |
| Futures | {futures_maker_fee} | {futures_taker_fee} |
**Combined example output**:
```markdown| 类别 | 挂单者费率 | 吃单者费率 |
|---|---|---|
| 现货 | {spot_maker_fee} | {spot_taker_fee} |
| 期货 | {futures_maker_fee} | {futures_taker_fee} |
**组合输出示例**:
```markdownQuery Result
查询结果
VIP Tier
VIP等级
| Item | Value |
|---|---|
| VIP Level | VIP 1 |
| 项目 | 数值 |
|---|---|
| VIP等级 | VIP 1 |
Trading Fee Rates
交易费率
| Category | Maker Fee | Taker Fee |
|---|---|---|
| Spot | 0.1% | 0.1% |
| Futures (USDT) | 0.015% | 0.05% |
undefined| 类别 | 挂单者费率 | 吃单者费率 |
|---|---|---|
| 现货 | 0.1% | 0.1% |
| 期货(USDT) | 0.015% | 0.05% |
undefinedError Handling
错误处理
| Error Type | Typical Cause | Handling Strategy |
|---|---|---|
| Authentication failure | API key invalid or expired | Inform user to check MCP configuration and API key validity |
| Empty response | Account data not available | Inform user the query returned no data and suggest retrying |
| Network error | MCP connection issue | Suggest user check MCP server connectivity |
| 错误类型 | 常见原因 | 处理策略 |
|---|---|---|
| 认证失败 | API密钥无效或过期 | 告知用户检查MCP配置及API密钥有效性 |
| 空响应 | 账户数据不可用 | 告知用户查询未返回数据,建议重试 |
| 网络错误 | MCP连接问题 | 建议用户检查MCP服务器连通性 |
Safety Rules
安全规则
- This Skill is read-only and does not perform any trading or account modification operations.
- No user confirmation is required since all operations are queries only.
- Never expose raw API keys or sensitive authentication details in responses.
- 本Skill为只读模式,不执行任何交易或账户修改操作。
- 由于所有操作均为查询,无需用户确认。
- 切勿在响应中暴露原始API密钥或敏感认证信息。