← 返回 Skills 市场
gate-exchange

Gate Exchange MarketAnalysis

作者 Gate · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ✓ 安全检测通过
278
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install gate-exchange-market-analysis
功能描述
Gate Exchange market analysis tool. Use when the user asks for deep market metrics like liquidity, slippage, funding arbitrage, or manipulation risk. Trigger...
使用说明 (SKILL.md)

gate-exchange-marketanalysis

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

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

Market tape analysis covering thirteen scenarios, such as liquidity, momentum, liquidation monitoring, funding arbitrage, basis monitoring, manipulation risk, order book explanation, slippage simulation, K-line breakout/support–resistance, and liquidity with weekend vs weekday. This skill provides structured market insights by orchestrating Gate MCP tools; call order and judgment logic are defined in references/scenarios.md.


MCP Dependencies

Required MCP Servers

MCP Server Status
Gate (main) ✅ Required

Authentication

  • API Key Required: Not necessarily
  • Note: This skill is read-only and primarily uses public market-data surfaces. In many runtimes these calls work without authentication, though some deployments may still route them through an authenticated MCP layer.

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, then execute this skill's market analysis workflow.

  • SKILL.md keeps intent routing, scenario mapping, and output semantics.
  • references/mcp.md is the authoritative MCP execution layer for tool sequencing, parameter checks, and degradation rules.

Sub-Modules

Module Purpose Document
Liquidity Order book depth, 24h vs 30d volume, slippage references/scenarios.md (Case 1)
Momentum Buy vs sell share, funding rate references/scenarios.md (Case 2)
Liquidation 1h liq vs baseline, squeeze, wicks references/scenarios.md (Case 3)
Funding arbitrage Rate + volume screen, spot–futures spread references/scenarios.md (Case 4)
Basis Spot–futures price, premium index references/scenarios.md (Case 5)
Manipulation risk Depth/volume ratio, large orders references/scenarios.md (Case 6)
Order book explainer Bids/asks, spread, depth references/scenarios.md (Case 7)
Slippage simulation Market-order slippage vs best ask references/scenarios.md (Case 8)
K-line breakout / support–resistance Candlesticks + tickers; support/resistance; breakout momentum references/scenarios.md (Case 9)
Liquidity + weekend vs weekday Order book + 90d candlesticks + tickers; weekend vs weekday volume/return references/scenarios.md (Case 10)
Technical analysis / what to do Short + long timeframe K-line, support/resistance, momentum (price vs volume), funding rate; spot + futures; separate short/long-term advice references/scenarios.md (Case 11)
Multi-asset buy & allocation Per-asset ticker + order book + 7d daily candles; futures add funding rate; allocation % and rationale references/scenarios.md (Case 12)
Portfolio allocation review Same data as Case 12; assess if allocation is reasonable, adjustment advice, what else to buy if no change references/scenarios.md (Case 13)

Routing Rules

Determine which module (case) to run based on user intent:

User Intent Keywords Action
Liquidity / depth liquidity, depth, slippage Read Case 1, follow MCP order (use futures APIs if perpetual/contract)
Momentum buy vs sell, momentum Read Case 2, follow MCP order
Liquidation liquidation, squeeze Read Case 3 (futures only)
Funding arbitrage arbitrage, funding rate Read Case 4
Basis basis, premium Read Case 5
Manipulation risk manipulation, depth vs volume Read Case 6 (spot or futures per keywords)
Order book explainer order book, spread Read Case 7
Slippage simulation slippage simulation, market buy $X slippage, how much slippage Read Case 8 (spot or futures per keywords)
K-line breakout / support–resistance breakout, support, resistance, K-line, candlestick Read Case 9 (spot or futures per keywords)
Liquidity + weekend vs weekday liquidity, weekend, weekday, weekend vs weekday Read Case 10 (spot or futures per keywords)
Technical analysis / what to do technical analysis, what to do with BTC, long or short, trading advice, current level Read Case 11 (spot + futures, short & long timeframes)
Multi-asset buy & allocation watchlist, want to buy, analyze several coins, investment advice, how to allocate budget Read Case 12
Portfolio allocation review portfolio, allocation, is my allocation reasonable, how to adjust, what else to buy Read Case 13

Execution

  1. Match user intent to the routing table above and determine case (1–13) and market type (spot/futures).
  2. Read the corresponding case in references/scenarios.md for MCP call order and required fields.
  3. Case 8 only: If the user did not specify a currency pair or did not specify a quote amount (e.g. $10K), do not assume defaults — prompt the user to provide the missing input(s); see Scenario 8.3 in references/scenarios.md.
  4. Call Gate MCP in the exact order defined for that case.
  5. Apply judgment logic from scenarios (thresholds, flags, ratings).
  6. Output the report using that case’s Report Template.
  7. Suggest related actions (e.g. “For basis, ask ‘What is the basis for XXX?’”).

Domain Knowledge (short)

  • Spot vs futures: Keywords “perpetual”, “contract”, “future”, “perp” → use futures MCP APIs; “spot” or unspecified → spot.
  • Liquidity (Case 1): Depth < 10 levels → low liquidity; 24h volume < 30-day avg → cold pair; slippage = 2×(ask1−bid1)/(bid1+ask1) > 0.5% → high slippage risk.
  • Momentum (Case 2): Buy share > 70% → buy-side strong; 24h volume > 30-day avg → active; funding rate sign + order book top 10 for bias.
  • Liquidation (Case 3): 1h liq > 3× daily avg → anomaly; one-sided liq > 80% → long/short squeeze; price recovered → wick/spike.
  • Arbitrage (Case 4): |rate| > 0.05% and 24h vol > $10M → candidate; spot–futures spread > 0.2% → bonus; thin depth → exclude.
  • Basis (Case 5): Current basis vs history; basis widening/narrowing for sentiment.
  • Manipulation (Case 6): Top-10 depth total / 24h volume < 0.5% → thin depth; consecutive same-direction large orders → possible manipulation. Use spot by default; use futures when user says perpetual/contract.
  • Order book (Case 7): Show bids/asks example, explain spread with last price, depth and volatility.
  • Slippage simulation (Case 8): Requires both a currency pair and a quote amount (e.g. ETH_USDT, $10K). If user does not specify either, prompt them — do not assume defaults (e.g. do not default to $10K). Spot: cex_spot_get_spot_order_book → cex_spot_get_spot_tickers. Futures: cex_fx_get_fx_contract → cex_fx_get_fx_order_book → cex_fx_get_fx_tickers (use quanto_multiplier from contract for ladder notional). Simulate market buy by walking ask ladder; slippage = volume-weighted avg price − ask1 (points and %).
  • K-line breakout / support–resistance (Case 9): Trigger: e.g. “breakout, support, resistance”, “K-line”, “does X show signs of breaking out?”. Spot: cex_spot_get_spot_candlesticks → cex_spot_get_spot_tickers. Futures: cex_fx_get_fx_candlesticks → cex_fx_get_fx_tickers. Use candlesticks for support/resistance levels; use tickers for 24h price, volume, change (momentum).
  • Liquidity + weekend vs weekday (Case 10): Trigger: e.g. “liquidity”, “weekend vs weekday”, “compare weekend and weekday”. Spot: cex_spot_get_spot_order_book → cex_spot_get_spot_candlesticks(90d) → cex_spot_get_spot_tickers. Futures: cex_fx_get_fx_contract → cex_fx_get_fx_order_book → cex_fx_get_fx_candlesticks(90d) → cex_fx_get_fx_tickers (use quanto_multiplier for depth notional). Order book for current depth; 90d candlesticks to split weekend vs weekday volume and return; compare and summarize.
  • Technical analysis / what to do (Case 11): Trigger: e.g. "technical analysis, what should I do with BTC", "long or short at current level". Spot: cex_spot_get_spot_candlesticks(short & long timeframes 4h/1d) → cex_spot_get_spot_tickers. Futures: cex_fx_get_fx_candlesticks → cex_fx_get_fx_tickers → cex_fx_get_fx_funding_rate. Use history for support/resistance; compare current price and 24h volume to past for momentum; funding rate for long/short bias; give separate short- and long-term advice.
  • Multi-asset buy & allocation (Case 12): Trigger: e.g. "I'm watching BTC, ETH, GT and want to buy; analyze and give allocation for $5000". Per asset: cex_spot_get_spot_candlesticks(7d) → cex_spot_get_spot_tickers → cex_spot_get_spot_order_book; futures: cex_fx_get_fx_candlesticks → cex_fx_get_fx_tickers → cex_fx_get_fx_order_book → cex_fx_get_fx_funding_rate. Spot ticker + order book + 7d daily; add funding for futures; output allocation % and rationale.
  • Portfolio allocation review (Case 13): Trigger: e.g. "I hold 30% BTC, 30% ETH, 20% DOGE, 15% LTC, 5% USDT; is this allocation reasonable, how to adjust, what else to buy?". Same MCP order as Case 12 (per-asset spot candlesticks + tickers + order_book; futures + funding_rate). Assess allocation, suggest adjustments, or suggest what else to buy if no change.

Important Notes

  • All analysis is read-only — no trading operations are performed.
  • Gate MCP must be configured (use gate-mcp-installer skill if needed).
  • MCP call order and output format are in references/scenarios.md; follow them for consistent behavior.
  • Always include a disclaimer: analysis is data-based, not investment advice.
安全使用建议
This skill appears coherent and read-only: it only sequences Gate MCP market-data calls and asks for no local installs or secrets. Before installing, confirm you trust the MCP server that will execute these tools (it may hold or inject your Gate API key) and review the external 'gate-runtime-rules.md' link the skill requires. If you do not want autonomous agent calls to run without review, consider disabling autonomous invocation in your agent policy or only allow user-invoked runs. If you plan to use slippage simulations, the skill will prompt you for explicit symbol and quote-amount inputs (it will not assume defaults).
功能分析
Type: OpenClaw Skill Name: gate-exchange-market-analysis Version: 1.0.2 The gate-exchange-market-analysis skill bundle is a comprehensive toolset for performing read-only market data analysis on the Gate exchange. It defines 13 specific scenarios (e.g., liquidity, momentum, slippage simulation, and portfolio review) with strict MCP tool call sequences and reporting templates in 'references/scenarios.md'. The instructions in 'SKILL.md' and 'references/mcp.md' emphasize safety, explicitly prohibiting trading operations, credential handling, or the use of fabricated data. No evidence of malicious intent, data exfiltration, or unauthorized execution was found; the skill is well-documented and aligned with its stated purpose.
能力评估
Purpose & Capability
Name, description, and all referenced resources (Gate MCP tool names and MCP installers) align with market-tape analysis. There are no unrelated env vars, binaries, or config paths requested.
Instruction Scope
SKILL.md gives detailed, scenario-specific MCP call sequences and explicit gating (e.g., Case 8 requires user-specified pair + amount). It also instructs the agent to read an external runtime rules doc (gate-runtime-rules.md on GitHub) before proceeding — this is reasonable for governance but introduces an external dependency to review before use.
Install Mechanism
Instruction-only skill with no install spec and no code to write to disk. Lowest-risk installation model.
Credentials
No environment variables, credentials, or config paths are required by the skill itself. The skill expects the MCP layer to handle API keys if needed, which is proportionate for a platform-integrated read-only data skill.
Persistence & Privilege
No 'always: true', no install-time persistence, and default autonomous invocation is enabled (normal for skills). The skill does not request elevated system-wide privileges or modify other skills' config.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install gate-exchange-market-analysis
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /gate-exchange-market-analysis 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
**Minor release with improved authentication clarification and execution guidance:** - Clarifies that most market-data calls are read-only/public and API keys are generally not needed, with details about authenticated deployments. - Adds a new reference to `references/mcp.md` as the mandatory execution protocol for MCP tool calls and workflow. - Explicitly instructs skill to read and follow `references/mcp.md`; keeps routing and intent logic in `SKILL.md`. - No changes to scenario logic or routing rules. All thirteen scenario modules remain as before.
v1.0.1
- Added a new "General Rules" section emphasizing strict adherence to runtime rules and tool usage limitations. - Clarified MCP server authentication, installation prerequisites, and explicitly required tools. - Updated documentation to clearly state: only explicitly listed MCP tools may be called, regardless of server capabilities. - No underlying logic or scenario changes; guidance and compliance emphasis only.
v1.0.0
Initial release – provides a comprehensive set of market analysis functions for Gate Exchange: - Supports 13 distinct market analytics scenarios (liquidity, momentum, liquidation, funding arbitrage, basis, manipulation, order book, slippage simulation, technical analysis, and more), each with a structured module and routing logic. - Automatically matches user intent to the corresponding analytic module using keywords like liquidity, slippage, liquidation, manipulation, and others. - Executes analyses by orchestrating Gate MCP tools in pre-defined sequences for each scenario. - Prompts users for required inputs in slippage simulations if details like currency pair or quote amount are missing. - Outputs structured market insight reports, with related follow-up suggestions on next steps or investigative questions.
元数据
Slug gate-exchange-market-analysis
版本 1.0.2
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 3
常见问题

Gate Exchange MarketAnalysis 是什么?

Gate Exchange market analysis tool. Use when the user asks for deep market metrics like liquidity, slippage, funding arbitrage, or manipulation risk. Trigger... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 278 次。

如何安装 Gate Exchange MarketAnalysis?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install gate-exchange-market-analysis」即可一键安装,无需额外配置。

Gate Exchange MarketAnalysis 是免费的吗?

是的,Gate Exchange MarketAnalysis 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Gate Exchange MarketAnalysis 支持哪些平台?

Gate Exchange MarketAnalysis 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Gate Exchange MarketAnalysis?

由 Gate(@gate-exchange)开发并维护,当前版本 v1.0.2。

💬 留言讨论