
Margin Trading
If you're building anything that needs programmatic access to Binance margin trading, this gives you 60+ authenticated endpoints without dealing with the signing headache yourself. It handles both cross and isolated margin modes, supports the full range of order types including OCO and OTOCO combinations, and covers the borrowing and repayment flows you'd expect. The HMAC SHA256 signing happens automatically, which is the main reason to use this instead of raw API calls. Worth noting that Snyk flagged something in the security audit while the other two passed, so check the repo if that matters for your use case. Installs are decent at 1.9K, so it's seeing real use.
- skills.sh installs
- 1.9K
- GitHub stars
- 1.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add binance/binance-skills-hub --skill margin-trading --agent claude-codeInstalls into .claude/skills of the current project.
Files
If you're building anything that needs programmatic access to Binance margin trading, this gives you 60+ authenticated endpoints without dealing with the signing headache yourself. It handles both cross and isolated margin modes, supports the full range of order types including OCO and OTOCO combinations, and covers the borrowing and repayment flows you'd expect. The HMAC SHA256 signing happens automatically, which is the main reason to use this instead of raw API calls. Worth noting that Snyk flagged something in the security audit while the other two passed, so check the repo if that matters for your use case. Installs are decent at 1.9K, so it's seeing real use.
Browse the repository on GitHubSponsors
Details
- Repository
- github.com/binance/binance-skills-hub
- Categories
- Backend & APIs, Security, Finance & Trading
More from binance/binance-skills-hub
All 28- Convert1.3K
- Algo1.2K
- Derivatives Trading Coin Futures1.2K
- Derivatives Trading Options1.2K
- Derivatives Trading Portfolio Margin Pro1.2K
- Derivatives Trading Portfolio Margin1.1K
- Sub Account1.1K
- Simple Earn1.1K
- Vip Loan1K
- Binance Agentic Wallet51.1K
- Square Post38.4K
- Trading Signal12.1K
- Query Token Audit11.8K
- Meme Rush11.5K
- Query Token Info11.4K
- Crypto Market Rank11.3K
- Query Address Info9.4K
- Binance Tokenized Securities Info7.2K
- Binance6.4K
- Onchain Pay Open Api6K
- Fiat5.8K
- P2p5.7K
- Payment Assistant4.7K
- Spot2.9K