gate-exchange-dual

Manage Gate Exchange dual investment plans with APY normalization and pagination.

3|Updated Apr 15, 2026
One-click install
npx skills add https://github.com/Pieverse-Eng/purrfect-skills --skill gate-exchange-dual-pieverse-eng
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gate-exchange-dual
Source: https://github.com/Pieverse-Eng/purrfect-skills/tree/main/gate/vendor/gate-exchange-dual
Command: npx skills add https://github.com/Pieverse-Eng/purrfect-skills --skill gate-exchange-dual-pieverse-eng

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Gate Exchange's dual investment products are complex to browse, simulate, and manage because APIs return raw APY values, timestamps, and paginated results that require normalization and careful handling. This Skill centralizes discovery, settlement simulation, order placement, position summaries, and compliance/error handling so users can make informed subscription decisions without manual data munging.

Core Features & Use Cases

  • Product Discovery: List and filter dual investment plans (sell-high / buy-low) and group by call/put for quick comparison.
  • Settlement Simulation: Compute both settlement scenarios using raw APY values in formulas while displaying correctly normalized APY percentages.
  • Order Placement & Safety: Prepare and confirm orders (with explicit user confirmation), call cex_earn_place_dual_order, and handle compliance or region restrictions.
  • Position & Settlement Records: Fetch complete paginated order history and balance summaries, interpret settlement outcomes, and map API status codes to user-friendly labels.
  • Safety Rules Enforcement: Enforce APY ×100 normalization, omit timestamps from user-facing output, complete pagination before answering, and never reveal sensitive keys or raw traces.

Quick Start

Ask to show Gate dual investment plans for BTC and simulate settlement for investing 0.1 BTC with target price 65000.

Frequently Asked Questions about gate-exchange-dual

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I simulate settlement scenarios for Gate dual investment plans?

To simulate Gate dual investment settlement, this Skill calculates both buy-low and sell-high outcomes using your principal and target price. It applies raw APY values in the formulas internally while normalizing the displayed APY percentage by multiplying by 100.

Can I place dual investment orders on Gate Exchange and manage ongoing positions?

Yes, you can place dual investment orders on Gate Exchange and manage ongoing positions. The Skill prepares your order, requires explicit user confirmation for safety, and fetches paginated position summaries and settlement history.

How does dual investment product discovery work for sell-high and buy-low plans?

Dual investment product discovery lists and filters available plans on Gate Exchange. It groups sell-high and buy-low options by call and put types, allowing you to quickly compare target prices and normalized APY percentages before subscribing.

Why does the APY look incorrect when fetching Gate dual investment data?

The APY looks incorrect because the Gate API returns raw values that require normalization. This Skill enforces a strict rule to multiply raw APY values by 100 to display correct percentages, while omitting timestamps from user-facing output.

Do I need to confirm before the system places a dual investment order?

Yes, explicit user confirmation is required before placing a dual investment order. The Skill prepares the order details, calls the placement API only after confirmation, and handles compliance or region restrictions with user-friendly error labels.

What limitations exist when fetching dual investment settlement history from Gate?

A key limitation is pagination completion; the Skill must fetch all paginated settlement history records before answering. It also enforces safety rules by never revealing sensitive API keys or raw traces in the output.