---
name: bybit-futures-89273da9b0be
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

```bash
# Set credentials
export BYBIT_API_KEY="your-api-key"
export BYBIT_API_SECRET="your-api-secret"

# Check balance
/bb balance

# Open position
/bb long BTCUSDT 0.01 10x

# View stats
/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

```bash
/bb long BTCUSDT 0.01 10x      # 10x leveraged long
/bb short ETHUSDT 0.1 20x      # 20x leveraged short
/bb tp BTCUSDT 105000          # Take profit at $105k
/bb sl BTCUSDT 95000           # Stop loss at $95k
/bb close BTCUSDT              # Close BTC position
/bb trades BTCUSDT 20          # Last 20 BTC trades
/bb stats ETHUSDT week         # ETH stats for past week
```


---
Source attribution: alsk1992
Original project: https://github.com/alsk1992/CloddsBot/blob/c930628c47a4a745f497e29035a3b64622f97cc7/src/skills/bundled/bybit-futures/SKILL.md
License: MIT
License information: https://opensource.org/license/mit
Original upstream instructions; downloaded from Dave AI.

## Upstream license notice

MIT License

Copyright (c) 2026 alsk1992

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



# Dave AI resource metadata

Creator / publisher: alsk1992
Original project: https://github.com/alsk1992/CloddsBot/blob/c930628c47a4a745f497e29035a3b64622f97cc7/src/skills/bundled/bybit-futures/SKILL.md
Attribution basis: Source repository record

Fields of work: Finance & Accounting, Marketing, Sales
Roles: Business Development, Financial Analyst, Growth Marketer
Specialties: API
Tools: Bybit
Country applicability: Country not specified
Classification basis: Source catalog labels
Instruction SHA-256: 48a89576bfcdb5e5ca13f926e28a8687c7d02b157a3d18a8f96ff44f953ac289
