v2 with AI Supervisor — now live

The first programmable
AI trading platform

Write strategies in ThunderScript. Deploy in seconds. An autonomous AI Supervisor analyzes your performance every hour and proposes improvements.

Binance API · Live & Testnet
AES-256 encrypted keys
Open ThunderScript spec
my-strategy.tscript
strategy "Momentum Scalper" {
  timeframe: 5m
  symbols: top_volume(8, quote: "USDT")

  indicators {
    rsi      = RSI(14)
    ema_fast = EMA(9)
    ema_slow = EMA(21)
  }

  entry when {
    ema_fast > ema_slow
    rsi in 35..65
    adx > 25
  }

  exit when {
    trailing_stop(callback: 1.5%)
    or rsi > 75
  }

  ai_context {
    model: "deepseek"
    min_confidence: 0.5
  }
}
Live Trade
+2.4% on SOLUSDT
Supervisor proposed
v3 — tighter stops
Why AiTrade

Built differently. From the ground up.

Most platforms make you click through wizards. We give you a programming language. Then we add an AI that improves your code while you sleep.

Real-time changes

Edit your strategy. Hit deploy. Your bot picks it up on the next cycle. No restarts, no downtime, no waiting.

AI Supervisor

An autonomous AI analyzes your performance hourly and proposes ThunderScript improvements. Auto-apply or require approval — your call.

Auto-revert

Bad version losing money? It's auto-reverted to your best-performing strategy with a clear notification explaining why.

Versioned strategies

Every save is a new version with its own performance snapshot. Roll back anytime. Compare side-by-side.

Native iOS app

Full feature parity. TradingView charts, ThunderScript editor, push notifications, Live Activities. Trade from anywhere.

Strategy Marketplace

Share your winning strategies. Import community gems. Or embed a ThunderScript on your blog — readers click and import in one tap.

ThunderScript DSL

A trading language that reads like English.

No more clicking through 30 fields. Just write what you mean. ThunderScript handles the math, the timing, the risk management.

01

Indicators as variables

rsi = RSI(14), ema_fast = EMA(9). Reference them in conditions like any variable.

02

Composable conditions

entry when = AND. exit when = OR. Range checks like rsi in 35..65. Cross detection like ema_fast crosses_below ema_slow.

03

Risk built-in

ATR-based stops, tiered position sizing by AI confidence score, cooldowns after losses, fee-ratio gates. All in 5 lines.

04

Time-aware

Cautious hours, dead hours, custom cycle intervals. Your bot respects market sessions without you writing a single timezone check.

Without ThunderScript
Indicator 1RSI
Period14
Threshold35
Directionbelow
Indicator 2EMA
Period9
+ 24 more fields
With ThunderScript
indicators {
  rsi = RSI(14)
  ema = EMA(9)
}
entry when {
  rsi < 35
  price > ema
}
AI Supervisor

Your strategy improves itself.

Every hour, an AI reviews your bot's performance. If it spots a pattern — an indicator that's hurting you, a missed setup, a regime change — it proposes a new ThunderScript version.

1

Analyze

24h trades, P&L, win rate, top failing conditions, market regime.

2

Propose

Generates a new ThunderScript with focused changes addressing weaknesses.

3

Validate

Compiles + checks the proposal. Invalid? Discarded. Valid? Continues.

4

Deploy

Auto-apply (default) or wait for your approval. You stay in control.

Configurable cadence

Default 1h. Set per-bot or system-wide. Off entirely if you prefer manual.

Custom prompt per bot

Give the supervisor specific guidance: "Focus on reducing drawdown" or "Avoid weekend trades."

Approval workflow

Toggle auto-apply OFF and every proposal lands as an approval request with full diff.

Architecture

Engineered for reliability + performance.

Modular services, end-to-end encryption, and an audit trail for every decision your bot makes.

Web App Vanilla JS · workspace UI
iOS App SwiftUI · Push · Live Activities
Auth Service SSO · JWT · device trust
Backend (Rust) API · auth · CRUD · validation
Engine (Python) Cycle loop · veto pipeline · execution
Assistant (Python) LLM gateway · ThunderScript compiler · MCP
PostgreSQL Bots · scripts · trades · activity
Binance API Spot · Futures · WebSockets
SSM (AES-256) Encrypted API keys
30sTrailing stop check
5minDefault bot cycle
1hSupervisor cadence
100%Decisions audited
Strategy Marketplace

Share. Discover. Profit together.

Publish a strategy and let the community use it. Browse curated strategies sorted by performance. One-click import.

Publish in one click

Click "Share to Marketplace" in the editor. Add tags + description. Done.

One-click import

See a strategy you like? Click Import → bot creation form pre-filled.

Embed anywhere

Get a shareable link. Click on it from any blog/Twitter/Discord and AiTrade opens with import ready.

Performance-ranked

Sorted by 30-day P&L, win rate, downloads. Real numbers from real bots.

Safety & Trust

Your keys. Your money. Your control.

API keys never leave the server

AES-256-GCM encryption at rest. Never logged. Never sent to clients. IP whitelist your Binance keys for tighter security.

Paper Trading by default

Every bot starts paper. Test against live market prices without spending a satoshi. Promote to live when you're ready.

Bots start paused

Create a bot. Review the strategy. THEN press Start. No accidental live trading on first save.

Pre-AI veto pipeline

Extreme volatility, low historical edge, multi-timeframe misalignment, book-depth checks. Bad setups never reach the AI.

Auto-revert on losses

If a new strategy version loses money fast, it's auto-reverted to your best historical version. With a clear notification explaining why.

Full audit trail

Every decision your bot makes is logged: indicators, conditions, market state, AI reasoning. Click any trade to see exactly why.

Ready to build smarter bots?

Free to try with paper trading. Live trading on your Binance account. No middlemen.