Public
Binance Testnet CCXT bot with momentum scalping & Telegram
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.

🤖 Binance Spot Testnet Trading Bot (CCXT)

Automated momentum scalping bot running on Binance Spot Testnet via CCXT library.

Strategy

  • RSI(14) Oversold (< 30) + Bullish MACD Crossover + Volume Spike (1.5x avg)
  • 2% Take Profit / 1% Stop Loss
  • $100 budget, $20 per trade, max 5 concurrent trades

Architecture

Rendering mermaid diagram...

Files

FilePurpose
bot.tsMain cron loop (interval, every 5 min)
scanner.tsScans USDT pairs for entry signals
indicators.tsRSI, MACD, volume spike calculations
trade-manager.tsOpens/closes trades, TP/SL monitoring
reporter.tsGenerates detailed Telegram reports
exchange.tsCCXT init, sandbox mode, retry with UA rotation
telegram.tsTelegram notification helper
dashboard.tsxWeb dashboard for monitoring
config.tsAll configuration & types

Setup

Set these environment variables in the Val Town UI (see links below).