margin-trading

Execute authenticated Binance Margin Trading REST API calls and return JSON responses.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It helps you programmatically manage Binance Margin Trading operations by calling the correct authenticated margin endpoints and returning the results in JSON.

Core Features & Use Cases

  • Query and manage margin account settings: Enable/disable isolated margin accounts, fetch margin account details, leverage brackets, tiers, and interest/risk data for informed decisions.
  • Borrow/repay and order lifecycle on margin: Execute authenticated margin borrow-repay actions and manage margin orders (new/cancel/query, including OCO/OTO/OTCO flows).
  • Use cases: Build margin-related workflows for research tools, monitoring bots, and compliance/testing harnesses that need consistent API request structure.

Quick Start

Ask your agent to call the margin endpoint you need by providing your Binance apiKey and secretKey and the required parameters, then return the JSON result.

Frequently Asked Questions about margin-trading

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

FAQPage Schema
How do I call Binance margin trading APIs with signed requests?

You call Binance margin trading APIs with signed requests by providing your API key and secret to authenticate via HMAC, RSA, or Ed25519, properly encoding query parameters, and receiving the HTTP response as JSON.

Can I manage margin borrow and repay actions through the Binance API?

Yes, you can manage margin borrow-repay actions through the Binance API by executing authenticated REST calls that handle the borrowing and repayment lifecycle and return the transaction results as JSON.

How do I query margin account leverage brackets and interest rate data?

You query margin account leverage brackets and interest rate data by executing authenticated Binance margin REST API requests that fetch account details, tiers, and risk data, returning the results formatted as JSON.

Does this Binance margin API integration support complex order types like OCO and OTO?

Yes, this Binance margin API integration supports complex order types like OCO and OTO. It manages the full margin order lifecycle including new, cancel, and query operations for OCO, OTO, and OTCO order flows.

What authentication methods are supported for Binance margin API requests?

Supported authentication methods for Binance margin API requests include HMAC, RSA, and Ed25519. These signed authenticated requests require your provided API key and secret to ensure deterministic API interactions.

Do I need my own Binance API keys to use margin trading endpoints?

Yes, you need your own Binance API keys to use margin trading endpoints. The integration requires you to provide your specific apiKey and secretKey to sign requests for querying and managing your margin account behavior.