binance-futures

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Binance Futures

币安期货

Trade perpetual futures on Binance with up to 125x leverage and full database tracking.
在币安交易永续期货,支持最高125倍杠杆,并具备完整的数据库追踪功能。

Quick Start

快速开始

bash
undefined
bash
undefined

Set credentials

Set credentials

export BINANCE_API_KEY="your-api-key" export BINANCE_API_SECRET="your-api-secret"
export BINANCE_API_KEY="your-api-key" export BINANCE_API_SECRET="your-api-secret"

Check balance

Check balance

/bf balance
/bf balance

Open position

Open position

/bf long BTCUSDT 0.01 10x
/bf long BTCUSDT 0.01 10x

View stats

View stats

/bf stats
undefined
/bf stats
undefined

Commands

命令

Account

账户

CommandDescription
/bf balance
Check margin balance
/bf positions
View open positions
/bf orders
List open orders
命令描述
/bf balance
查看保证金余额
/bf positions
查看未平仓头寸
/bf orders
查看未成交订单

Trading

交易

CommandDescription
/bf long <symbol> <size> [leverage]x
Open long position
/bf short <symbol> <size> [leverage]x
Open short position
/bf close <symbol>
Close position
/bf closeall
Close all positions
/bf tp <symbol> <price>
Set take-profit
/bf sl <symbol> <price>
Set stop-loss
/bf leverage <symbol> <value>
Set leverage
命令描述
/bf long <symbol> <size> [leverage]x
开多单
/bf short <symbol> <size> [leverage]x
开空单
/bf close <symbol>
平仓
/bf closeall
全部平仓
/bf tp <symbol> <price>
设置止盈
/bf sl <symbol> <price>
设置止损
/bf leverage <symbol> <value>
设置杠杆倍数

Market Data

市场数据

CommandDescription
/bf price <symbol>
Get current price
/bf funding <symbol>
Check funding rate
/bf markets [query]
List markets
命令描述
/bf price <symbol>
获取当前价格
/bf funding <symbol>
查看资金费率
/bf markets [query]
列出交易对

Database/History

数据库/历史记录

CommandDescription
/bf trades [symbol] [limit]
Trade history from database
/bf dbstats [symbol] [period]
Win rate, PnL, profit factor
/bf dbfunding [symbol]
Funding payments history
/bf dbpositions [all]
Position history
Stats periods:
day
,
week
,
month
命令描述
/bf trades [symbol] [limit]
从数据库获取交易历史
/bf dbstats [symbol] [period]
查看胜率、盈亏、盈利因子
/bf dbfunding [symbol]
资金费用支付历史
/bf dbpositions [all]
头寸历史记录
统计周期:
day
,
week
,
month

Examples

示例

bash
/bf long BTCUSDT 0.01 10x      # 10x leveraged long
/bf short ETHUSDT 0.1 20x      # 20x leveraged short
/bf tp BTCUSDT 105000          # Take profit at $105k
/bf sl BTCUSDT 95000           # Stop loss at $95k
/bf close BTCUSDT              # Close BTC position
/bf trades BTCUSDT 20          # Last 20 BTC trades
/bf dbstats ETHUSDT week       # ETH stats for past week
bash
/bf long BTCUSDT 0.01 10x      # 10倍杠杆做多
/bf short ETHUSDT 0.1 20x      # 20倍杠杆做空
/bf tp BTCUSDT 105000          # 设置止盈价为105000美元
/bf sl BTCUSDT 95000           # 设置止损价为95000美元
/bf close BTCUSDT              # 平仓BTC头寸
/bf trades BTCUSDT 20          # 查看最近20笔BTC交易记录
/bf dbstats ETHUSDT week       # 查看ETH过去一周的统计数据