derivatives-trading-portfolio-margin-pro

derivatives-trading-portfolio-margin-pro is a skill for Claude Code, Codex from tradecatlabs/tradecat-public. It costs 33 tokens per session (2,640 once invoked), scanned A, original, MIT.

Authenticated Binance API access for Portfolio Margin Pro, a Binance account mode that combines assets when calculating trading margin and risk. It can read account details and perform selected transfers, repayments, collections, and automatic-repayment changes.

In plain words
What is it for?
Use it to check SPAN account information, balances, leverage settings, repayment status, and to make BNB transfers, repay loans, collect funds, or change auto-repayment settings.
Why use it?
It removes the need to handle these Portfolio Margin Pro account actions manually through Binance’s interface. Requests require a Binance API key and secret key.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to check SPAN account information, balances, leverage settings, repayment status, and to make BNB transfers, repay loans, collect funds, or change auto-repayment settings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tradecatlabs/tradecat-public/derivatives-trading-portfolio-margin-pro
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add tradecatlabs/tradecat-public --skill derivatives-trading-portfolio-margin-pro
Clone the repo
git clone --depth 1 https://github.com/tradecatlabs/tradecat-public

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for derivatives-trading-portfolio-margin-pro

README.md
[![agentmods](https://agentmods.dev/badge/skills/tradecatlabs/tradecat-public/derivatives-trading-portfolio-margin-pro/github.svg)](https://agentmods.dev/skills/tradecatlabs/tradecat-public/derivatives-trading-portfolio-margin-pro)
Your own site
<a href="https://agentmods.dev/skills/tradecatlabs/tradecat-public/derivatives-trading-portfolio-margin-pro"><img src="https://agentmods.dev/badge/skills/tradecatlabs/tradecat-public/derivatives-trading-portfolio-margin-pro/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for derivatives-trading-portfolio-margin-pro

Your own site · 80×15
<a href="https://agentmods.dev/skills/tradecatlabs/tradecat-public/derivatives-trading-portfolio-margin-pro"><img src="https://agentmods.dev/badge/skills/tradecatlabs/tradecat-public/derivatives-trading-portfolio-margin-pro.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,640 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 5 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 117
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 108
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 111
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 112
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 114
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00033 $0.02640
Opus 5 $0.00016 $0.01320
Sonnet 5 $0.00007 $0.00528
Haiku 4.5 $0.00003 $0.00264

Measured 13d ago against content hash a523f014651e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

derivatives-trading-portfolio-margin-pro scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- curl
resources/agent_market_context/binance/upstream/binance-skills-hub-main/skills/binance/derivatives-trading-portfolio-margin-pro/SKILL.md · 240 lines

How it starts

The opening of the file, as written. The whole thing — 240 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Binance Derivatives-trading-portfolio-margin-pro Skill

Derivatives-trading-portfolio-margin-pro request on Binance using authenticated API endpoints. Requires API key and secret key for certain endpoints. Return the result in JSON format.

Quick Reference

Endpoint Description Required Optional Authentication
/sapi/v1/portfolio/bnb-transfer (POST) BNB transfer(USER_DATA) amount, transferSide recvWindow Yes
/sapi/v1/portfolio/repay-futures-switch (POST) Change Auto-repay-futures Status(TRADE) autoRepay recvWindow Yes
/sapi/v1/portfolio/repay-futures-switch (GET) Get Auto-repay-futures Status(USER_DATA) None recvWindow Yes
/sapi/v1/portfolio/repay (POST) Portfolio Margin Pro Bankruptcy Loan Repay None from, recvWindow Yes
/sapi/v1/portfolio/auto-collection (POST) Fund Auto-collection(USER_DATA) None recvWindow Yes
/sapi/v1/portfolio/asset-collection (POST) Fund Collection by Asset(USER_DATA) asset recvWindow Yes
/sapi/v2/portfolio/account (GET) Get Portfolio Margin Pro SPAN Account Info(USER_DATA) None recvWindow Yes
/sapi/v1/portfolio/account (GET) Get Portfolio Margin Pro Account Info(USER_DATA) None recvWindow Yes
/sapi/v1/portfolio/balance (GET) Get Portfolio Margin Pro Account Balance(USER_DATA) None asset, recvWindow Yes
/sapi/v1/portfolio/delta-mode (GET) Get Delta Mode Status(USER_DATA) None recvWindow Yes
/sapi/v1/portfolio/delta-mode (POST) Switch Delta Mode(TRADE) deltaEnabled recvWindow Yes
/sapi/v1/portfolio/earn-asset-balance (GET) Get Transferable Earn Asset Balance for Portfolio Margin (USER_DATA) asset, transferType recvWindow Yes
/sapi/v1/portfolio/pmLoan (GET) Query Portfolio Margin Pro Bankruptcy Loan Amount(USER_DATA) None recvWindow Yes
/sapi/v1/portfolio/interest-history (GET) Query Portfolio Margin Pro Negative Balance Interest History(USER_DATA) None asset, startTime, endTime, size, recvWindow Yes
/sapi/v1/portfolio/pmloan-history (GET) Query Portfolio Margin Pro Bankruptcy Loan Repay History(USER_DATA) None startTime, endTime, current, size, recvWindow Yes
/sapi/v1/portfolio/repay-futures-negative-balance (POST) Repay futures Negative Balance(USER_DATA) None from, recvWindow Yes
/sapi/v1/portfolio/earn-asset-transfer (POST) Transfer LDUSDT/RWUSD for Portfolio Margin(TRADE) asset, transferType, amount recvWindow Yes
/sapi/v1/portfolio/collateralRate (GET) Portfolio Margin Collateral Rate(MARKET_DATA) None None No
/sapi/v1/portfolio/margin-asset-leverage (GET) Get Portfolio Margin Asset Leverage(USER_DATA) None None Yes
/sapi/v2/portfolio/collateralRate (GET) Portfolio Margin Pro Tiered Collateral Rate(USER_DATA) None recvWindow Yes
/sapi/v1/portfolio/asset-index-price (GET) Query Portfolio Margin Asset Index Price (MARKET_DATA) None asset No

Read the full file on GitHub · 240 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago First seen · 240 lines · 33 tokens per session scan A a523f014651e

Subscribe to this mod's changes

derivatives-trading-portfolio-margin-pro is a skill published in the GitHub repository tradecatlabs/tradecat-public (956 stars, last pushed 4d ago), licensed MIT. It adds 33 tokens to every session and 2,640 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

BytesAgain Crypto Toolkit — 200+ Technical Indicators, Real-Time Market Data

Use when you need real-time crypto prices, technical indicators (RSI, MACD, Bollinger, 50+), market rankings, on-chain data, or trading signals. Zero API key required.

bytesagain/ai-skills · 57 tokens

coingecko-api

Broad crypto market data from CoinGecko covering 13,000+ tokens. Global market stats, historical price data going back years, exchange volumes, trending tokens, and category filters. Best for macro analysis and long-term historical data.

agiprolabs/claude-trading-skills · 52 tokens

coinversaa-pulse

Read-only crypto intelligence for AI agents. 103 tools (OAuth 2.1 on the hosted endpoint, API key for local stdio) for Hyperliquid trader analytics, builder-fee revenue analytics, position lifecycles with MAE/MFE execution quality, trader archetype discovery, behavioral cohorts, HIP-4 outcome contracts, outcome/perp…

Coinversaa/mcp-server · 161 tokens

horus-flow-mcp

If the user asks you to write a trading bot, an algorithmic trading script, or requests any market analysis (Crypto/US Equities).

horustechltd/horus-flow-mcp · 0 tokens

market-data

Query real-time crypto futures prices, OHLCV candle data, funding rate / open interest / positioning, a market-wide screener, a condition backtest, and technical indicators (RSI, MACD, EMA, SMA, Bollinger, ATR, ADX, Stochastic, OBV, VWAP, CCI, MFI, Williams %R, ROC, SuperTrend, Ichimoku, Keltner, pivot points…

target1m/traderspy-mcp · 134 tokens

smart-money

Track smart money / whale traders across crypto exchanges (Binance, Hyperliquid, Bybit, OKX). Use when the user asks about top traders, whale positions, elite leaderboard, copy trading targets, or smart money flows.

target1m/traderspy-mcp · 50 tokens