KO
|
EN
gitlite โ search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
binance-cli
โ 19
Open GitHub โ
Binance API for CLI version
Download README (.md)
Explore Similar Repositories
leftright
:
How fast is your left / right hand?
tabulens
:
๐๐ LLM-powered PDF Table Extractor
knotgym
:
[NeurIPS DB 2025] A gym environment for visual spatial reasoning - knot so simple :)
emby-tools
:
Emby ๅจ่พนๅทฅๅ ท้๏ผๆฐๆฎ็ป่ฎกใๆตทๆฅ็ๆใๆน้้ๅฝๅใๆฏๆฅๆจ่ใVue3 + Node.js + Docker ๅ จๆ ่งฃๅณๆนๆกใ
swift_ios_ollama_client_v3
:
No description available.
// repository documentation
Was this content helpful?
โ 0
(0 ratings)
Select Rating:
โ
โ
โ
โ
โ
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
binance-cli
?
Download (.md)
# Binance CLI A command-line tool for Binance API developed based on the Go language, supporting various trading functions such as spot, futures, and portfolio margin. ## Installation and Configuration ### Installation ```shell curl -sSL https://raw.githubusercontent.com/UnipayFI/binance-cli/refs/heads/main/download.sh | bash ``` ### Environment variables Before using, you need to set the Binance API key: ```shell export API_KEY="your_api_key" export API_SECRET="your_api_secret" ``` ## Usage All commands are to be used in the following format: ``` ./binance-cli [Module] [Subcommand] [Arguments] Available Commands: futures Futures help Help about any command portfolio Portfolio spot Spot wallet Wallet ``` ### Spot Module Exec: `./binance-cli spot [Subcommand] [Arguments]` ```shell Available Commands: account Show account info asset Show account assets dividend Get dividend information order Support create, cancel, list orders ``` **[View detailed documentation](docs/spot.md)** ### Futures Module Exec: `./binance-cli futures [Subcommand] [Arguments]` ```shell Available Commands: account Show account balances & account config commission-rate Show commission rate fee BNB payment fee income Query income history multi-assets-mode Show and set multi-assets mode order Support create, cancel, list futures orders position Show positions & show position risk & set position margin & change position side symbol Symbol config(leverage & margin type) trade Get trades for a specific account and symbol. ``` **[View detailed documentation](docs/futures.md)** ### Portfolio Module #### Portfolio USDโ-Margined Futures Exec: `./binance-cli portfolio um [Subcommand] [Arguments]` ```shell Available Commands: commission-rate Get User Commission Rate for UM fee BNB payment fee income Get UM Income History order Support create, cancel, list um orders position Show positions & show position risk & change position side symbol Symbol config ``` **[View detailed documentation](docs/portfolio_um.md)** #### Portfolio Margin Trading Exec: `./binance-cli portfolio margin [Subcommand] [Arguments]` ```shell Available Commands: interest-history Interest history loan Loan order Support create, cancel, list margin orders ``` **[View detailed documentation](docs/portfolio_margin.md)** ### Wallet Module Exec: `./binance-cli wallet [Subcommand] [Arguments]` ```shell Available Commands: asset Get user assets balance Query user wallet balance dust dust asset conversion and history fee BNB payment fee funding Get funding wallet assets universal-transfer Transfer asset and history ``` **[View detailed documentation](docs/wallet.md)** ## License UnipayFI/binance-cli is released under the [MIT License](https://opensource.org/licenses/MIT).