binance
Use binance-cli for Binance Spot, Futures (USD-S), and Convert. Requires auth.
- License 许可
- MIT
- 最近更新
- 2026-11-13
- Stars
- ★ 81
- Forks
- 17
01 前言 Front Matter
- name
- binance
- license
- MIT
- metadata
- { "author": "Binance", "version": "2.1.0", "openclaw": { "install": [ { "kind": "shell", "label": "Install binance-cli", "script": "if npm list -g @binance/binance-cli --depth=0 >/dev/null 2>&1; then\n VERSION=\"$(binance-cli --version 2>/dev/null | grep -Eo '[0-9]+\\.[0-9]+\\.[0-9]+' | head -n1 || true)\"\n MAJOR=\"$(echo \"$VERSION\" | cut -d. -f1)\"\n\n if [ \"$MAJOR\" = \"1\" ]; then\n npm uninstall -g @binance/binance-cli\n fi\nfi\n\ncurl --proto '=https' --tlsv1.2 -LsSf \\\n https://github.com/binance/binance-cli/releases/latest/download/binance-cli-installer.sh \\\n | sh\n" } ], "requires": { "bins": [ "binance-cli" ] } } }
- description
- Use binance-cli for Binance Spot, Futures (USD-S), and Convert. Requires auth.
02 资源文件 40
- 参考文档CHANGELOG.md3.3 KB
- 许可证LICENSE.md1.0 KB
- 参考文档references/algo.md1.7 KB
- 参考文档references/alpha-streams.md1.0 KB
- 参考文档references/alpha.md569 B
- 参考文档references/auth.md998 B
- 参考文档references/c2c.md181 B
- 参考文档references/cms-streams.md97 B
- 参考文档references/convert.md1.1 KB
- 参考文档references/copy-trading.md261 B
- 参考文档references/crypto-loan.md2.5 KB
- 参考文档references/derivatives-options-streams.md1.2 KB
- 参考文档references/derivatives-options.md4.7 KB
- 参考文档references/derivatives-portfolio-margin-pro-streams.md181 B
- 参考文档references/derivatives-portfolio-margin-pro.md2.6 KB
- 参考文档references/derivatives-portfolio-margin-streams.md181 B
- 参考文档references/derivatives-portfolio-margin.md12.4 KB
- 参考文档references/dual-investment.md737 B
- 参考文档references/fiat.md564 B
- 参考文档references/futures-coin-streams.md2.1 KB
- 参考文档references/futures-coin.md7.3 KB
- 参考文档references/futures-usds-streams.md2.2 KB
- 参考文档references/futures-usds.md10.5 KB
- 参考文档references/gift-card.md641 B
- 参考文档references/margin-trading-streams.md293 B
- 参考文档references/margin-trading.md9.5 KB
- 参考文档references/mining.md1.2 KB
- 参考文档references/pay.md167 B
- 参考文档references/rebate.md186 B
- 参考文档references/simple-earn.md4.5 KB
- 参考文档references/spot-streams.md1.5 KB
- 参考文档references/spot.md12.5 KB
- 参考文档references/staking.md4.1 KB
- 参考文档references/stocks-streams.md541 B
- 参考文档references/stocks.md1.9 KB
- 参考文档references/sub-account.md7.9 KB
- 参考文档references/vip-loan.md1.8 KB
- 参考文档references/wallet.md6.7 KB
- 参考文档SOURCE.md353 B
- 参考文档TRUST.auto.yaml2.3 KB
03 SKILL.md 正文
Binance
binance-cli setup
Before using binance-cli:
- If global npm package
@binance/binance-cliexists andbinance-cli --versionis< 2.0.0, uninstall it:
npm uninstall -g @binance/binance-cli
- Install the latest release:
curl --proto '=https' --tlsv1.2 -LsSf \
https://github.com/binance/binance-cli/releases/latest/download/binance-cli-installer.sh \
| sh
- Verify:
binance-cli --version
PREREQUISITE: Read
auth.mdfor auth, global flags, and security rules.
Helper Commands
| Command | Description |
|---|---|
algo |
Algo Trading |
alpha |
Alpha |
c2c |
C2C |
cms |
CMS Streams |
convert |
Convert |
copy-trading |
Copy Trading |
crypto-loan |
Crypto Loan |
derivatives-options |
Derivatives Trading (Options) |
derivatives-portfolio-margin |
Derivatives Trading (Portfolio Margin) |
derivatives-portfolio-margin-streams |
Derivatives Trading Streams (Portfolio Margin) |
derivatives-portfolio-margin-pro |
Derivatives Trading (Portfolio Margin Pro) |
derivatives-portfolio-margin-pro-streams |
Derivatives Trading Streams (Portfolio Margin Pro) |
dual-investment |
Dual Investment |
fiat |
Fiat |
futures-coin |
Derivatives Trading (COIN-M Futures) |
futures-coin-streams |
Derivatives Trading Streams (COIN-M Futures) |
futures-usds |
Derivatives Trading (USDS-M Futures) |
futures-usds-streams |
Derivatives Trading Streams (USDS-M Futures) |
gift-card |
Gift Card |
margin-trading |
Margin Trading |
margin-trading-streams |
Margin Trading Streams |
mining |
Mining |
pay |
Pay |
rebate |
Rebate |
simple-earn |
Simple Earn |
spot |
Spot Trading |
spot-streams |
Spot Trading Streams |
staking |
Staking |
stocks |
Stocks |
stocks-streams |
Stocks Streams |
sub-account |
Sub Account |
vip-loan |
VIP Loan |
wallet |
Wallet |
Notes
- ⚠️ Prod transactions — always ask user to type
CONFIRMbefore executing. - Use
--helpto get the list of commands and parameters. - Use the output from both stdout and stderr.
- Append
--profile <name>to any command to use a non-active profile. - All authenticated endpoints accept optional
--recvWindow <ms>(max 60 000). - Timestamps (
startTime,endTime) are Unix ms. - For endpoints not listed in the skill, use
binance-cli request (GET|POST|PUT...) <url> [--signed]. Any Parameters can be added to the request (e.g:--param1 value --param2 value).
04 同仓库更多 Skills
recipe-performance
Diagnose a specific MetaMask user flow's real-app performance and Sentry critical-user-flow telemetry with deterministic mm-harness recipes. Use for CUF boundaries, cold/warm/background-resume behavior, latency regressions, lifecycle tags, duplicate or blocking network requests, long tasks, layout/paint cost, screen redraws, React rerenders, or browser trace analysis where tests alone cannot prove the real app.
mexc-spot-websocket
MEXC Spot WebSocket workflows for public streams, protobuf handling, depth maintenance, listen keys, and private streams without exposing API keys.
mexc-spot-rest
MEXC Spot REST workflows for public data, signed account requests, orders, wallet/admin actions, and secure signing without exposing API keys.
mexc-futures-websocket
MEXC Futures WebSocket workflows for public streams, private account/order/position streams, ping/pong, subscriptions, and depth maintenance.
0xklen-version-and-refresh-sanctions-lists
暂无简介
verify-tests-cover-changed-lines
Use when a PR adds code that the existing suite may not exercise. Measures patch coverage — the share of newly changed lines hit by tests — before approving.