bingx-swap-trade

Place, query, or cancel BingX perpetual swap orders via authenticated REST endpoints.

17|6|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/BingX-API/api-ai-skills --skill bingx-swap-trade
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bingx-swap-trade
Source: https://github.com/BingX-API/api-ai-skills/tree/main/skills/swap-trade
Command: npx skills add https://github.com/BingX-API/api-ai-skills --skill bingx-swap-trade

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

BingX perpetual swap trading often requires manual API integration to place orders, manage positions, and query account data. This skill provides a self-contained interface to authenticated swap endpoints, enabling AI agents to perform trading operations without writing custom API clients.

Core Features & Use Cases

  • Order management: place, cancel, and query swap orders across multiple endpoints (market, limit, stop, trailing types) with validation and error handling.
  • Position and risk controls: adjust margin type, leverage, and asset mode; query current positions and margin details; support for multi-asset configurations.
  • Automated workflows: integrate into AI assistants to execute trading strategies, monitor orders, and respond with structured results (order IDs, statuses, PnL, etc.).

Quick Start

Provide the trading symbol and your desired operation to begin using BingX Swap Trade endpoints.

Frequently Asked Questions about bingx-swap-trade

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

FAQPage Schema
How do I automate BingX perpetual swap trading orders via API?

Automate BingX perpetual swap trading by using this Skill to place, query, or cancel orders via authenticated REST endpoints. It handles market, limit, stop, and trailing order types with built-in parameter validation and returns structured results like order IDs and statuses.

Can I adjust position margin and leverage for BingX swaps automatically?

Yes, you can adjust position margin and leverage for BingX swaps automatically. The Skill interfaces with swap endpoints to modify margin types, set leverage, change asset modes, and query current positions alongside detailed margin configurations.

Do I need a custom API client to manage BingX positions and margins?

No, you do not need a custom API client to manage BingX positions and margins. The Skill provides a self-contained interface to authenticated swap endpoints, enabling AI agents to execute trading operations directly without writing custom API integration code.

What structured results do I get after placing BingX swap orders?

After placing BingX swap orders, you receive structured results containing order IDs and execution statuses. The Skill validates parameters, enforces environment safety prompts, and returns structured data including order statuses and PnL for automated workflow integration.

Are there safety prompts enforced before executing BingX swap actions?

Yes, environment safety prompts are enforced before executing BingX swap actions. The Skill enforces parameter validation and safety checks across swap API operations, ensuring that placing, canceling, or querying orders and managing margins follow secure endpoint interactions.