Skip to main content
← Back to HomeNetTrader Docs

Documentation

Everything you need to deploy, configure, and operate NetTrader — the AI-powered crypto futures trading system.

Quickstart

Get up and running in minutes. Set your API keys, configure leverage, and let the bot do the rest.

  • Create a Binance Futures account and generate API keys
  • Set BINANCE_API_KEY and BINANCE_SECRET in the backend .env
  • Set NEXT_PUBLIC_API_URL to point to your backend
  • Start the backend: dotnet run --project NetTrader.Api
  • Start the frontend: npm run dev
  • Login at /login and watch the dashboard

API Reference

REST endpoints and SignalR hubs exposed by the NetTrader backend.

  • POST /auth/login — obtain JWT access token
  • GET /bot/status — current bot state and uptime
  • GET /bot/settings — read-only configuration snapshot
  • POST /bot/pause / /bot/resume — pause or resume trading
  • POST /bot/force-cycle — trigger immediate AI scan
  • POST /bot/emergency-stop — close all positions at market
  • GET /positions — list of active positions
  • GET /history — paginated trade history with P&L
  • GET /market/{symbol} — live indicators and ML signal
  • Hub /hubs/trading — SignalR real-time events

Architecture

How the Triple-Loop ML engine and Gemini AI executive brain work together.

  • 1-second loop: price monitoring and trailing stop management
  • 15-second loop: ML quick scan across all symbols
  • 30-minute loop: Gemini AI full analysis and trade decision
  • 24-dimensional feature matrix including RSI, MACD, Bollinger Bands
  • 8-tier defense-in-depth risk shield
  • Direction Flip Paradigm — smart position reversal
Read full architecture →

Risk Management

Built-in safeguards that protect your capital at every level.

  • Per-position stop-loss and take-profit with auto-trailing
  • Max open positions limit
  • Max margin usage cap (configurable %)
  • Daily drawdown pause threshold
  • Emergency stop closes all positions instantly
  • Balance floor emergency stop (e.g. 70% of starting balance)

FAQ

Common questions about setup, usage, and behaviour.

  • Q: Does it work on spot trading? — No, Binance Futures (USDⓈ-M) only.
  • Q: What coins does it trade? — BTCUSDT, ETHUSDT, BNBUSDT, SOLUSDT, XRPUSDT by default.
  • Q: Can I add my own symbols? — Edit the SYMBOLS list in the backend config.
  • Q: Is my API key safe? — Keys never leave your server; the frontend only talks to your backend.
  • Q: How do I update the bot? — git pull on both repos and restart services.
Documentation | NetTrader