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.
Automated momentum scalping bot running on Binance Spot Testnet via CCXT library.
- 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
Rendering mermaid diagram...
| File | Purpose |
|---|---|
bot.ts | Main cron loop (interval, every 5 min) |
scanner.ts | Scans USDT pairs for entry signals |
indicators.ts | RSI, MACD, volume spike calculations |
trade-manager.ts | Opens/closes trades, TP/SL monitoring |
reporter.ts | Generates detailed Telegram reports |
exchange.ts | CCXT init, sandbox mode, retry with UA rotation |
telegram.ts | Telegram notification helper |
dashboard.tsx | Web dashboard for monitoring |
config.ts | All configuration & types |
Set these environment variables in the Val Town UI (see links below).