h-v1-perp-trade

Manage perpetual swap orders, positions, and leverage on crypto exchanges.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/okx-wallet-H/h-wallet-skills --skill h-v1-perp-trade
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: h-v1-perp-trade
Source: https://github.com/okx-wallet-H/h-wallet-skills/tree/main/skills/h-v1-perp-trade
Command: npx skills add https://github.com/okx-wallet-H/h-wallet-skills --skill h-v1-perp-trade

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @h-wallet/trade-cli, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables users to manage and execute perpetual swap trading operations efficiently and securely.

Core Features & Use Cases

  • Order Placement and Cancellation: Place market or limit orders, and easily cancel existing ones.
  • Position Management: View current positions, close positions, or close all at once.
  • Leverage Adjustment: Set and modify leverage levels for different instruments.
  • Risk Control: Implement take-profit, stop-loss, trailing stops, and manage advanced order types.
  • Use Case: A trader wants to automate opening a long position with a specific leverage, set a take-profit at 105000, and a stop-loss at 88000, then monitor and manage these orders seamlessly.

Quick Start

Carry out position opening by placing a market buy order for BTC perpetual swap with desired leverage, then add take-profit and stop-loss levels in one command for immediate risk management.

Frequently Asked Questions about h-v1-perp-trade

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

FAQPage Schema
How do I automate opening a perpetual swap position with take-profit and stop-loss?

Automate perpetual swap position opening by placing a market order with desired leverage, then appending take-profit and stop-loss levels in a single command to execute trades and manage risk parameters simultaneously.

Can I adjust leverage levels for different crypto perpetual swap instruments?

Yes, you can set and modify leverage levels for different perpetual swap instruments. Adjusting leverage allows you to control position sizing and risk exposure across various centralized and decentralized crypto exchanges.

What is the best way to manage and close multiple perpetual swap positions at once?

The best way to manage multiple perpetual swap positions is using the close-all feature. This allows you to view current positions and execute bulk closures seamlessly, ensuring fast and safe trading operations.

Does this trading automation approach support both centralized and decentralized crypto exchanges?

Yes, this trading automation facilitates fast and safe perpetual swap operations on both centralized and decentralized crypto exchanges, relying on precise order placement and position tracking to optimize trading performance.

How do I set up trailing stops for perpetual swap risk control?

Set up trailing stops for perpetual swap risk control by implementing advanced order types alongside take-profit and stop-loss parameters to manage risk and optimize trading performance during market volatility.

Do I need a specific command line interface to execute these crypto trading operations?

Yes, you need the trade command line interface dependency installed to execute these crypto trading operations, which provides the foundational environment for precise order placement, position tracking, and leverage control.