| name | bybit-futures |
| description | Bybit Futures trading with DB tracking |
| emoji | 🟠 |
| commands | ["/bb"] |
| gates | {"envs":["BYBIT_API_KEY"]} |
Bybit Futures
Trade perpetual futures on Bybit with up to 100x leverage and full database tracking.
Quick Start
export BYBIT_API_KEY="your-api-key"
export BYBIT_API_SECRET="your-api-secret"
/bb balance
/bb long BTCUSDT 0.01 10x
/bb stats
Commands
Account
| Command | Description |
|---|
/bb balance | Check wallet balance |
/bb positions | View open positions |
/bb orders | List open orders |
Trading
| Command | Description |
|---|
/bb long <symbol> <size> [leverage]x | Open long position |
/bb short <symbol> <size> [leverage]x | Open short position |
/bb close <symbol> | Close position |
/bb closeall | Close all positions |
/bb tp <symbol> <price> | Set take-profit |
/bb sl <symbol> <price> | Set stop-loss |
/bb leverage <symbol> <value> | Set leverage |
Market Data
| Command | Description |
|---|
/bb price <symbol> | Get current price |
/bb funding <symbol> | Check funding rate |
/bb markets [query] | List markets |
Database/History
| Command | Description |
|---|
/bb trades [symbol] [limit] | Trade history from database |
/bb dbstats [symbol] [period] | Win rate, PnL, profit factor |
/bb dbfunding [symbol] | Funding payments history |
/bb dbpositions [all] | Position history |
Stats periods: day, week, month
Examples
/bb long BTCUSDT 0.01 10x
/bb short ETHUSDT 0.1 20x
/bb tp BTCUSDT 105000
/bb sl BTCUSDT 95000
/bb close BTCUSDT
/bb trades BTCUSDT 20
/bb stats ETHUSDT week