Skip to content

Latest commit

Β 

History

History
27 lines (20 loc) Β· 884 Bytes

File metadata and controls

27 lines (20 loc) Β· 884 Bytes

Bollinger Bands Breakout Bot

A beginner-friendly trading bot that generates buy/sell signals when price breaks through Bollinger Bands.

Features

  • βœ… Visual chart generation with Bollinger Bands
  • βœ… Real-time price monitoring
  • βœ… Automatic signal generation (BUY/SELL/HOLD)
  • βœ… Dark theme charts
  • βœ… Binance Testnet support (mock trading)
  • βœ… Easy to understand for beginners

πŸ“š How It Works

  • BUY Signal: When price crosses above Upper Band (strong momentum)
  • SELL Signal: When price crosses below Lower Band (strong selling pressure)
  • HOLD: When price is between bands (no clear breakout)

Configuration

  • symbol = 'BTC/USDT' # Trading pair
  • timeframe = '1d' # Candle timeframe (1m, 5m, 1h, 1d)
  • limit = 100 # Number of candles to analyze

πŸ› οΈ Installation

pip install ccxt pandas mplfinance