derivatives-trading-portfolio-margin

Retrieve Binance portfolio-margin derivatives account, leverage, risk, order, and history data via authenticated PAPI endpoints.

957|244|Updated Dec 30, 2025
One-click install
npx skills add https://github.com/tukuaiai/tradecat-public --skill derivatives-trading-portfolio-margin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: derivatives-trading-portfolio-margin
Source: https://github.com/tukuaiai/tradecat-public/tree/main/resources/agent_market_context/binance/upstream/binance-skills-hub-main/skills/binance/derivatives-trading-portfolio-margin
Command: npx skills add https://github.com/tukuaiai/tradecat-public --skill derivatives-trading-portfolio-margin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps agents retrieve and manage Binance portfolio-margin derivatives account, order, leverage, and risk data reliably instead of manually calling scattered endpoints.

Core Features & Use Cases

  • Authenticated Derivatives Requests (CM/UM/Margin): Query balances, account details, positions, order/risk info, and history endpoints that require API key and secret.
  • Portfolio Margin Controls: Change initial leverage, position mode (hedge vs one-way), and fetch leverage brackets, ADL quantiles, and interest/loan-related records.
  • Order Management (Read & Trade-Side Operations): Create/modify/cancel various order types and conditional orders for CM/UM/margin flows, returning JSON results.

Quick Start

Use the derivatives-trading-portfolio-margin skill to fetch a portfolio-margin account balance from Binance mainnet using your API key and secret.

Frequently Asked Questions about derivatives-trading-portfolio-margin

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

FAQPage Schema
How do I fetch Binance portfolio margin account balances using an API?

To retrieve Binance portfolio margin account balances via API, provide your API key and secret to authenticate PAPI endpoints. This returns JSON responses containing mainnet or testnet account and risk data.

What is portfolio margin leverage configuration in Binance derivatives?

Portfolio margin leverage configuration involves adjusting initial leverage and setting position modes like hedge or one-way for UM and CM flows. Authenticated API requests manage these settings and fetch leverage brackets.

Can I manage Binance portfolio margin orders through an automated agent?

Yes, automated agents can manage Binance portfolio margin orders by sending authenticated requests to create, modify, or cancel conditional orders. The API returns JSON results for these trade-side operations across CM, UM, and margin flows.

Does the Binance derivatives API support both mainnet and testnet for portfolio margin?

Yes, the Binance derivatives API supports both mainnet and testnet for portfolio margin. Parameterize the base URL in authenticated requests to safely retrieve account data and test trading workflows in testnet environments.

What Binance portfolio margin risk data can I retrieve through authenticated requests?

Authenticated PAPI requests retrieve Binance portfolio margin risk data including positions, leverage brackets, ADL quantiles, and interest or loan-related records, supporting comprehensive risk monitoring within agent workflows.