Public
HF Binance Testnet trading bot - VSA strategy, Telegram alerts
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.

🤖 BotTrader2 — High-Frequency Binance Testnet Trading Bot

A professional scalping bot running on Binance Spot Testnet with VSA (Volume Spread Analysis) + Liquidity Grab strategy.

Architecture

Rendering mermaid diagram...

Strategy

ComponentDetails
Liquidity Filter24h Volume > $500k USDT
VSA Volume SpikeCurrent candle volume > 1.5× avg of last 10
Liquidity GrabPrice sweeps below recent lows + bullish reversal
RSI ConfirmationRSI(7) < 30 (oversold reversal)
Timeframe5-minute candles
Take Profit+0.7%
Stop Loss-0.7%

Virtual Budget

  • Starting Balance: 100 USDT (hardcoded, ignores testnet's 10k)
  • Trade Size: 2 USDT per trade (100 / 50)
  • Max Concurrent: 50 open trades

API Endpoints

EndpointMethodDescription
/GETLive dashboard (auto-refresh 10s)
/api/stateGETJSON state snapshot
/api/startPOSTStart the bot
/api/stopPOSTStop the bot
/sourceGETView source code

Telegram Reports

  • ✅ Immediate BUY/SELL alerts with RSI + volume data
  • 📊 15-minute summary: balance, PnL, utilization, win rate
  • ⚠️ Error notifications

How to Use

  1. Visit the dashboard URL
  2. Send a POST to /api/start to begin trading
  3. Monitor via dashboard or Telegram
  4. POST to /api/stop to halt