@binance/binance

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

View in AI SkillSafe app
0 downloads
0 stars
0 demos
SKILL.md
namebinance
descriptionUse binance-cli for Binance Spot, Futures (USD-S), and Convert. Requires auth.
metadatabinance-cli
licenseMIT

Binance

binance-cli setup

Before using binance-cli:

  1. If global npm package @binance/binance-cli exists and binance-cli --version is < 2.0.0, uninstall it:
npm uninstall -g @binance/binance-cli
  1. Install the latest release:
curl --proto '=https' --tlsv1.2 -LsSf \
  https://github.com/binance/binance-cli/releases/latest/download/binance-cli-installer.sh \
  | sh
  1. Verify:
binance-cli --version

PREREQUISITE: Read auth.md for auth, global flags, and security rules.

Helper Commands

Command Description
algo Algo Trading
alpha Alpha
c2c C2C
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
sub-account Sub Account
vip-loan VIP Loan
wallet Wallet

Notes

  • ⚠️ Prod transactions — always ask user to type CONFIRM before executing.
  • Install binance-cli using npm install -g @binance/binance-cli
  • Use --help to 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).

Embed badges

Add these to your README to show the skill's verification status.

SkillSafe verified badge
Verified badge
[![SkillSafe verified badge](https://api.skillsafe.ai/v1/badge/@binance/binance/verified)](https://skillsafe.ai/skill/@binance/binance/)
Installs badge
Installs badge
[![Installs badge](https://api.skillsafe.ai/v1/badge/@binance/binance/installs)](https://skillsafe.ai/skill/@binance/binance/)
Scan badge
Scan badge
[![Scan badge](https://api.skillsafe.ai/v1/badge/@binance/binance/scan)](https://skillsafe.ai/skill/@binance/binance/)
Eval pass rate badge
Eval pass rate
[![Eval pass rate badge](https://api.skillsafe.ai/v1/badge/@binance/binance/eval)](https://skillsafe.ai/skill/@binance/binance/)