KuCoin HFT Trading Bot - High-frequency trading with leverage and perpetuals
Find a file
Robin L. M. Cheung, MBA 9f69dad8a4 feat: add real-time web dashboard
- FastAPI backend with WebSocket + REST endpoints
- React/Vite frontend with TailwindCSS
- Bot launcher with strategy selector, leverage/risk sliders
- Portfolio panel with PnL tracking and position chart
- Positions table with live updates
- Trade history with win/loss badges
- Risk metrics (drawdown, win rate)
- Live TradingView chart with position markers
- Log stream for bot activity
- Emergency stop with confirmation modal
- Dark terminal theme aesthetic
2026-02-07 23:07:42 -05:00
config Initial commit: Claude46Trader - KuCoin HFT Trading Bot 2026-02-07 06:50:14 -05:00
dashboard feat: add real-time web dashboard 2026-02-07 23:07:42 -05:00
src Initial commit: Claude46Trader - KuCoin HFT Trading Bot 2026-02-07 06:50:14 -05:00
.gitignore feat: add real-time web dashboard 2026-02-07 23:07:42 -05:00
DASHBOARD.md Initial commit: Claude46Trader - KuCoin HFT Trading Bot 2026-02-07 06:50:14 -05:00
README.md Initial commit: Claude46Trader - KuCoin HFT Trading Bot 2026-02-07 06:50:14 -05:00
requirements.txt Initial commit: Claude46Trader - KuCoin HFT Trading Bot 2026-02-07 06:50:14 -05:00

Claude46Trader

Project Goal: Maximize profits from $100 USD starting capital using high-frequency trading strategies with leverage and perpetuals on KuCoin.

🎯 Strategy Overview

Current Market Conditions (2025)

  • Focus: High-volatility altcoins with strong momentum
  • Approach: Scalping + leveraged perpetuals for rapid compounding
  • Risk Level: High (as requested)
  • Target: 10-50% daily returns with controlled risk

Core Strategies

  1. Momentum Scalping - Quick entries/exits on trending coins
  2. Leveraged Grid Trading - Automated grid with 5-10x leverage
  3. Market Making - Provide liquidity on liquid pairs
  4. Breakout Trading - Trade volatility spikes

🏗️ Architecture

┌─────────────────┐    ┌─────────────────┐    ┌─────────────────┐
│   Market Data   │    │  Signal Engine  │    │ Risk Management │
│   (WebSocket)   │───▶│   (Analysis)    │───▶│   (Safety Net)  │
└─────────────────┘    └─────────────────┘    └─────────────────┘
         │                       │                       │
         ▼                       ▼                       ▼
┌─────────────────┐    ┌─────────────────┐    ┌─────────────────┐
│ Order Execution │◀───│ Portfolio Mgmt  │◀───│ Monitoring Log  │
│   (REST API)    │    │   (Position)    │    │   (Analytics)   │
└─────────────────┘    └─────────────────┘    └─────────────────┘

📊 Trading Parameters

  • Starting Capital: $100 USD
  • Max Leverage: 10x (perpetual futures)
  • Risk per Trade: 5-10% of portfolio
  • Target Pairs: High-volume altcoins (BTC, ETH, SOL, DOGE, SHIB, PEPE)
  • Timeframe: 1m - 5m scalping
  • Stop Loss: 2-3% (tight for HFT)
  • Take Profit: 1-2% (quick exits)

🚀 Quick Start

# 1. Install dependencies
pip install -r requirements.txt

# 2. Configure API keys
cp config/.env.example config/.env
# Edit config/.env with your KuCoin API credentials

# 3. Run the bot
python main.py --strategy momentum --leverage 5 --risk 0.05

⚠️ Risk Warning

EXTREME RISK STRATEGY - This bot uses high leverage and aggressive trading:

  • Potential for complete capital loss
  • Designed for high risk tolerance only
  • Start with paper trading first
  • Never invest more than you can afford to lose

📈 Performance Tracking

Real-time monitoring dashboard:

  • Live P&L tracking
  • Win rate statistics
  • Risk metrics
  • Trade execution speed

Built for speed, optimized for profit, designed for risk-takers only!