ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified finance Safety 2/5

derivatives-trading-portfolio-margin

Binance Derivatives-trading-portfolio-margin request using the Binance API. Authentication requires API key and secret key. Supports testnet and mainnet.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/binance-skills-hub/binance-derivatives-trading-portfolio-margin
Or

What This Skill Does

The Binance Derivatives Trading Portfolio Margin skill allows OpenClaw users to interface directly with Binance's Portfolio Margin account architecture. It provides programmatic access to a comprehensive suite of endpoints ranging from account monitoring to specialized configuration settings. This skill is designed for high-frequency traders and quantitative developers who require precise control over their portfolio margin environment. It includes functionalities for managing auto-repay futures settings, adjusting cross-margin (CM) and unified-margin (UM) leverage, toggling between hedge and one-way position modes, and retrieving detailed financial audit trails. By leveraging this tool, users can automate their risk management and portfolio rebalancing processes with minimal latency.

Installation

To integrate this skill into your environment, run the following command in your OpenClaw terminal:

clawhub install openclaw/skills/skills/binance-skills-hub/binance-derivatives-trading-portfolio-margin

Ensure that you have your Binance API credentials ready. You will need to provide your API Key and Secret Key within your OpenClaw environment configuration to authorize requests, as this skill performs sensitive USER_DATA and TRADE operations.

Use Cases

This skill is ideal for several professional trading workflows:

  1. Automated Risk Management: Automatically adjust leverage or switch position modes based on market volatility detected by other analysis skills.
  2. Financial Reporting: Regularly export UM/CM income histories and trade data to external databases for performance attribution and tax compliance.
  3. Portfolio Balancing: Utilize the fund auto-collection or asset-collection endpoints to streamline cash management within your portfolio margin account.
  4. Audit and Monitoring: Create real-time dashboards that monitor your margin status, account balance, and auto-repay settings.

Example Prompts

  1. "Check the current UM position mode and set my initial leverage for BTCUSDT to 10x."
  2. "Get the CM income history for the last 24 hours and export it to my activity log."
  3. "Enable auto-repay-futures and verify the status update to confirm it is active."

Tips & Limitations

Always use a sub-account with strictly defined API permissions to minimize potential impact in case of security issues. Note that the recvWindow parameter is vital for preventing replay attacks; ensure your system clock is perfectly synchronized with NTP servers. This skill is exclusively for Portfolio Margin accounts; attempting to use it with standard futures accounts may result in API errors. Always test your logic on the Binance Testnet before executing trades on the mainnet.

Metadata

Stars4190
Views0
Updated2026-04-18
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-binance-skills-hub-binance-derivatives-trading-portfolio-margin": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#binance#trading#crypto#finance#portfolio
Safety Score: 2/5

Flags: network-access, external-api

Related Skills

query-token-info

Query token details by keyword, contract address, or chain. Search tokens, get metadata and social links, retrieve real-time market data (price, price trend, volume, holders, liquidity), and fetch K-Line candlestick charts. Use this skill when users search tokens, check token prices, view market data, or request kline/candlestick charts.

binance-skills-hub 4473

binance

Use binance-cli for Binance Spot, Futures (USD-S), and Convert. Requires auth.

binance-skills-hub 4473

meme-rush

Meme token fast-trading assistant with two core capabilities: 1. Meme Rush - Real-time meme token lists from launchpads (Pump.fun, Four.meme, etc.) across new, finalizing, and migrated stages 2. Topic Rush - AI-powered market hot topics with associated tokens ranked by net inflow Use this skill when users ask about new meme tokens, meme launches, bonding curve, migration status, pump.fun tokens, four.meme tokens, fast meme trading, market hot topics, or trending narratives.

binance-skills-hub 4473

query-address-info

Query any on-chain wallet address token balances and positions. Retrieves all token holdings for a specified wallet address on a given chain, including token name, symbol, price, 24h price change, and holding quantity. Use this skill when users ask about wallet balance, token holds, portfolio, or asset positions for any blockchain address.

binance-skills-hub 4473

crypto-market-rank

Crypto market rankings and leaderboards. Query trending tokens, top searched tokens, Binance Alpha tokens, tokenized stocks, social hype sentiment ranks, smart money inflow token rankings, top meme token rankings from Pulse launchpad, and top trader PnL leaderboards. Use this skill when users ask about token rankings, market trends, social buzz, meme rankings, breakout meme tokens, or top traders.

binance-skills-hub 4473