Binance
Use binance-cli for Binance Spot, Futures (USD-S), and Convert. Requires auth.
PREREQUISITE: Read
auth.mdfor 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
CONFIRMbefore executing. - Install binance-cli using
npm install -g @binance/binance-cli - 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).
微信扫一扫