derivatives-trading-portfolio-margin

Retrieve Binance portfolio-margin account state and histories via signed API requests.

957|244|Updated Dec 30, 2025
One-click install
npx skills add https://github.com/tradecatlabs/tradecat-public --skill derivatives-trading-portfolio-margin-tradecatlabs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: derivatives-trading-portfolio-margin
Source: https://github.com/tradecatlabs/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/tradecatlabs/tradecat-public --skill derivatives-trading-portfolio-margin-tradecatlabs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It solves the need to programmatically retrieve and manage Binance portfolio-margin account and derivatives settings by calling authenticated API endpoints.

Core Features & Use Cases

  • Authenticated portfolio-margin API requests: Fetch balances, account details, leverage brackets, position risk, and income/trade/commission histories using signed requests.
  • Execution support for trade-relevant account actions: Create and manage derivatives orders and conditional orders (via portfolio-margin endpoints) where applicable.
  • Signing and credential handling guidance: Use API key + secret key with RFC3986 percent-encoding and HMAC/RSA/Ed25519 signing, plus required headers for compatibility.

Quick Start

Ask the AI to request the portfolio-margin account balance for the symbol or asset you specify using your Binance API credentials.

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 query Binance portfolio margin account balances via API?

You can query Binance portfolio margin account balances by making authenticated API requests using your API key and secret key. The signed requests return JSON results containing balances, account info, and position risk data.

How do I retrieve leverage brackets and position risk for Binance derivatives?

Retrieving leverage brackets and position risk for Binance derivatives requires signed API requests with HMAC, RSA, or Ed25519 signatures. You set the X-MBX-APIKEY header and use RFC 3986 parameter encoding to get JSON results.

Does Binance portfolio margin API support testnet base URLs?

Yes, Binance portfolio margin API requests support both testnet and mainnet base URLs. You configure the base URL when making signed requests with your API key and secret key to access derivatives account data.

What signing methods are supported for Binance portfolio margin authenticated API requests?

Binance portfolio margin authenticated API requests support HMAC, RSA, and Ed25519 signing methods. You use your API key and secret key with RFC 3986 percent-encoding and set the required X-MBX-APIKEY and User-Agent headers.

Can I manage derivatives orders and conditional orders through Binance portfolio margin endpoints?

Yes, you can create and manage derivatives orders and conditional orders through Binance portfolio margin endpoints. The signed API requests support execution for trade-relevant account actions and return JSON results for order histories.

How do I fetch income, trade, and commission histories from a Binance derivatives account?

Fetching income, trade, and commission histories from a Binance derivatives account requires authenticated API requests with timestamped signatures. The signed requests return JSON results containing detailed income and trade history records.